px4-firmware/unittests/mixer_test.cpp

17 lines
489 B
C++
Raw Normal View History

2013-10-12 15:19:34 -03:00
#include <systemlib/mixer/mixer.h>
#include <systemlib/err.h>
2013-10-13 06:44:42 -03:00
#include "../../src/systemcmds/tests/tests.h"
2013-10-12 15:19:34 -03:00
#include "gtest/gtest.h"
2014-12-20 13:51:52 -04:00
TEST(MixerTest, IO_pass) {
char* args[] = {"mixer", "../../ROMFS/px4fmu_common/mixers/IO_pass.mix"};
ASSERT_EQ(test_mixer(2, args), 0) << "IO_pass.mix failed";
2014-05-03 07:40:11 -03:00
}
TEST(MixerTest, FMU_quad_w) {
char* args[] = {"mixer", "../../ROMFS/px4fmu_common/mixers/FMU_quad_w.mix"};
ASSERT_EQ(test_mixer(2, args), 0) << "FMU_quad_w.mix failed";
}