API
alpaoCtrl_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
#define GIVEN(desc)
Definition: catch.hpp:17763
#define WHEN(desc)
Definition: catch.hpp:17765
#define SCENARIO(...)
Definition: catch.hpp:17760
#define REQUIRE(...)
Definition: catch.hpp:17676