| 1 | /* |
| 2 | * SPDX-FileCopyrightText: 2021 Keith Paterson |
| 3 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 4 | */ |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <cppunit/TestFixture.h> |
| 9 | #include <cppunit/extensions/HelperMacros.h> |
| 10 | |
| 11 | #include <memory> |
| 12 | |
| 13 | #include <simgear/props/props.hxx> |
| 14 | |
| 15 | class SGGeod; |
| 16 | |
| 17 | // The flight plan unit tests. |
| 18 | class AirportTests : public CppUnit::TestFixture |
| 19 | { |
| 20 | // Set up the test suite. |
| 21 | CPPUNIT_TEST_SUITE(AirportTests); |
| 22 | CPPUNIT_TEST(testAirport); |
| 23 | CPPUNIT_TEST(testAirportNasal); |
| 24 | CPPUNIT_TEST_SUITE_END(); |
| 25 | |
| 26 | |
| 27 | public: |
| 28 | // Set up function for each test. |
| 29 | void setUp(); |
| 30 | |
| 31 | // Clean up after each test. |
| 32 | void tearDown(); |
| 33 | |
| 34 | // The tests. |
| 35 | void testAirport(); |
| 36 | void testAirportNasal(); |
| 37 | }; |