c54fba1095
Add a unit-test written by Huntely, and extend the AP configure code, so the 'time' config of monostables doesn't trigger an incorrect warning in the console / logs. Thanks to Huntley Palmer for pointing this out. SF-ID: https://sourceforge.net/p/flightgear/codetickets/2812/
30 lines
1.2 KiB
C++
30 lines
1.2 KiB
C++
/*
|
|
* Copyright (C) 2018 Edward d'Auvergne
|
|
*
|
|
* This file is part of the program FlightGear.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#include "testDigitalFilter.hxx"
|
|
#include "testInputValue.hxx"
|
|
#include "testMonostable.hxx"
|
|
#include "testPidController.hxx"
|
|
|
|
// Set up the unit tests.
|
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(MonostableTests, "Unit tests");
|
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(DigitalFilterTests, "Unit tests");
|
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(PidControllerTests, "Unit tests");
|
|
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(InputValueTests, "Unit tests");
|
|
|