This commit is contained in:
bsongis
2014-08-08 11:48:03 +02:00
parent 3f3708f0f1
commit a92de216ac
3 changed files with 25 additions and 10 deletions
+11
View File
@@ -242,5 +242,16 @@ TEST(Lcd, Dblsize)
lcd_putsAtt(82, 10, "TST", DBLSIZE);
EXPECT_TRUE(checkScreenshot("dblsize"));
}
#endif
#if defined(PCBTARANIS)
TEST(Lcd, DrawSwitch)
{
lcd_clear();
putsSwitches(0, 10, SWSRC_SA0, 0);
putsSwitches(30, 10, SWSRC_SA0, SMLSIZE);
// putsSwitches(60, 10, SWSRC_SA0, MIDSIZE); missing arrows in this font
putsSwitches(90, 10, SWSRC_SA0, DBLSIZE);
EXPECT_TRUE(checkScreenshot("drawswitch"));
}
#endif