Fix an issue in statistics display

This commit is contained in:
Bertrand Songis
2019-06-06 09:13:06 +02:00
parent fdb2feb4fc
commit 1e50cc5297
4 changed files with 3 additions and 20 deletions
-16
View File
@@ -99,28 +99,12 @@ bool checkScreenshot(const QString & test)
#if defined(COLORLCD)
// TODO
#else
#if defined(PCBTARANIS) && LCD_W >= 212
TEST(outdezNAtt, test_unsigned)
{
lcdClear();
lcdDrawNumber(0, 0, 65530, LEFT);
EXPECT_TRUE(checkScreenshot("unsigned")) << "Unsigned numbers will be bad displayed";
}
#elif LCD_W <= 128
TEST(outdezNAtt, test_unsigned)
{
lcdClear();
lcdDrawNumber(0, 0, 65530, LEFT|UNSIGN);
EXPECT_TRUE(checkScreenshot("arm_unsigned")) << "Unsigned numbers will be bad displayed";
}
#else
TEST(outdezNAtt, test_unsigned)
{
lcdClear();
lcdDrawNumber(0, 0, 65530, LEFT|UNSIGN);
EXPECT_TRUE(checkScreenshot("unsigned")) << "Unsigned numbers will be bad displayed";
}
#endif
TEST(outdezNAtt, testBigNumbers)
{