mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
fitsHeader_test.cpp File Reference

Tests FITS-header value extraction. More...

Tests FITS-header value extraction.

Definition in file fitsHeader_test.cpp.

#include "../../../catch2/catch.hpp"
#include "../../../../include/ioutils/fits/fitsHeader.hpp"
#include "../../../../include/improc/eigenImage.hpp"

Go to the source code of this file.

Namespaces

namespace  mx
 The mxlib c++ namespace.

Functions

 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Managing the fitsHeader lifecycle", "[ioutils::fits::fitsHeader]")
 Verifies empty-state, append, lookup, copy, assignment, and clearing behavior.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Accessing fitsHeader cards by keyword", "[ioutils::fits::fitsHeader]")
 Verifies mutable and const fitsHeader keyword access, including missing-card sentinels.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Erasing fitsHeader cards", "[ioutils::fits::fitsHeader]")
 Verifies fitsHeader erasure by keyword and exact list iterator.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Inserting ordered fitsHeader cards", "[ioutils::fits::fitsHeader]")
 Verifies ordered fitsHeader insertion and duplicate-key rejection.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Removing standard FITS header cards", "[ioutils::fits::fitsHeader]")
 Verifies removal of standard top-of-header FITS cards and boilerplate comments.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Appending complete FITS headers", "[ioutils::fits::fitsHeader]")
 Verifies fitsHeader concatenation, duplicate propagation, self-append safety, and CONTINUE validation.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Propagating fitsHeader mutation failures", "[ioutils::fits::fitsHeader]")
 Verifies fitsHeader propagates allocation failures and rolls back partially completed mutations.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Test functionality of headersToValues", "[ioutils::fits::fitsHeader]")
 Test functionality of headersToValues.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Appending HCI-style FITS provenance", "[ioutils::fits::fitsHeader][hciReduce]")
 Verifies metadata, repeated provenance cards, and copied headers used by HCI output writers.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Updating HCI coadd time and keyword cards", "[ioutils::fits::fitsHeader][hciReduce]")
 Verifies HCI coadd updates of midpoint, start, end, and delta metadata cards.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Appending HCI Git status provenance", "[ioutils::fits::fitsHeader][hciReduce]")
 Verifies FITS HISTORY provenance for HCI final-image outputs.
 mx::unitTest::fitsTest::fitsHeaderTest::TEST_CASE ("Appending HCI reduction parameter metadata", "[ioutils::fits::fitsHeader][hciReduce]")
 Verifies the scalar and string FITS metadata types emitted by HCI stdFitsHeader.