Debian Codegraph @

test_suite/unit_tests/Autopilot/testPidController.hxx

raw symbols SCIP
1 /*
2 * This file is part of the program FlightGear.
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18
19 #pragma once
20
21
22 #include <cppunit/TestFixture.h>
23 #include <cppunit/extensions/HelperMacros.h>
24
25 #include <simgear/props/props.hxx>
26
27
28 // The system tests.
29 struct PidControllerTests : public CppUnit::TestFixture
30 {
31 // Set up function for each test.
32 void setUp();
33
34 // Clean up after each test.
35 void tearDown();
36
37 // The tests.
38 void test0();
39 void test1();
40
41 private:
42
43 // Set up the test suite.
44 CPPUNIT_TEST_SUITE(PidControllerTests);
45 CPPUNIT_TEST(test0);
46 CPPUNIT_TEST(test1);
47 CPPUNIT_TEST_SUITE_END();
48
49 SGPropertyNode_ptr configFromString(const std::string& s);
50 void test(bool startup_zeros);
51 };