Skip to content

Commit

Permalink
Test: remove fip test case
Browse files Browse the repository at this point in the history
Signed-off-by: Norbert Takacs <norberttak@gmail.com>
  • Loading branch information
norberttak committed Apr 14, 2024
1 parent 347795d commit 5cfebf5
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/test_FIP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,6 @@ namespace test
test_fip_set_button_states(0);
Assert::AreEqual(0, (int)fip_device->get_button_state());
}

TEST_METHOD(TestFIPAirSpeedChange)
{
XPLMSetDatai(airspeed_dataref, 0);
test_flight_loop(fip_device);
std::this_thread::sleep_for(150ms);
unsigned char fip_image_buffer[240 * 320 * 3];
test_fip_get_image(fip_image_buffer, 240 * 320 * 3);
Assert::AreEqual(0, (int)fip_image_buffer[0]);

XPLMSetDatai(airspeed_dataref, 150);
test_flight_loop(fip_device);
std::this_thread::sleep_for(150ms);
test_fip_get_image(fip_image_buffer, 240 * 320 * 3);
Assert::AreEqual(0, (int)fip_image_buffer[0]);
}

TEST_METHOD(TestFIPBMPPadding)
{
/* Page 2 contains one layer with the BMP file bmp_test_padding.bmp
Expand Down

0 comments on commit 5cfebf5

Please sign in to comment.