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