API
Applications
Utilities
API
Handbook
GitHub
Home
bmcCtrl_test.cpp
Go to the documentation of this file.
1
/** \file template_test.cpp
2
* \brief Catch2 tests for the template app.
3
*
4
* History:
5
*/
6
#include "../../../tests/catch2/catch.hpp"
7
8
#include "../template.hpp"
9
10
using namespace
MagAOX::app
;
11
12
namespace
template_test
13
{
14
15
SCENARIO
(
"xxxx"
,
"[template]"
)
16
{
17
GIVEN
(
"xxxxx"
)
18
{
19
int
rv;
20
21
WHEN
(
"xxxx"
)
22
{
23
rv = [some test];
24
25
REQUIRE
(rv == 0);
26
}
27
}
28
}
29
}
//namespace template_test
GIVEN
#define GIVEN(desc)
Definition:
catch.hpp:17763
WHEN
#define WHEN(desc)
Definition:
catch.hpp:17765
SCENARIO
#define SCENARIO(...)
Definition:
catch.hpp:17760
REQUIRE
#define REQUIRE(...)
Definition:
catch.hpp:17676
MagAOX::app
Definition:
dm.hpp:26
template_test
Definition:
template_test.cpp:13
apps
bmcCtrl
tests
bmcCtrl_test.cpp
Generated by
1.9.1