API
 
Loading...
Searching...
No Matches
pupilFit_test.cpp
Go to the documentation of this file.
1/** \file pupilFit_test.cpp
2 * \brief Catch2 tests for the pupilFit app.
3 * \author Jared R. Males (jaredmales@gmail.com)
4 *
5 * \ingroup pupilFit_files
6 */
7
8#include "../../../tests/testXWC.hpp"
9
10#include "../pupilFit.hpp"
11
12using namespace MagAOX::app;
13
14namespace libXWCTest
15{
16
17/** \defgroup pupilFit_unit_test pupilFit Unit Tests
18 * \brief Unit tests for the pupilFit application.
19 *
20 * \ingroup application_unit_test
21 */
22
23/// Namespace for `pupilFit` unit tests.
24/** \ingroup pupilFit_unit_test
25 */
26namespace pupilFitTest
27{
28
29/// Verify the placeholder pupilFit test harness instantiates the app cleanly.
30/**
31 * \ingroup pupilFit_unit_test
32 */
33TEST_CASE( "pupilFit placeholder harness instantiates the app", "[pupilFit]" )
34{
35 // clang-format off
36 #ifdef PUPILFIT_TEST_DOXYGEN_REF
37 pupilFit();
38 #endif
39 // clang-format on
40
41 SECTION( "default construction succeeds" )
42 {
43 pupilFit app;
44
45 REQUIRE( true );
46 }
47}
48
49} // namespace pupilFitTest
50
51} // namespace libXWCTest
The MagAO-X Pyramid Pupil Fitter.
Definition pupilFit.hpp:55
TEST_CASE("pupilFit placeholder harness instantiates the app", "[pupilFit]")
Verify the placeholder pupilFit test harness instantiates the app cleanly.
Namespace for all libXWC tests.