Re #1458 - added gtest for big numbers (>uint16_t)

This commit is contained in:
Damjan Adamic
2014-07-06 09:25:38 +02:00
parent f4fdc233c0
commit 88bb28e3f1
3 changed files with 10 additions and 0 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

+10
View File
@@ -143,6 +143,16 @@ TEST(outdezNAtt, test_unsigned)
EXPECT_TRUE(checkScreenshot("unsigned")) << "Unsigned numbers will be bad displayed";
}
#if defined(CPUARM)
TEST(outdezNAtt, testBigNumbers)
{
lcd_clear();
lcd_outdezNAtt(0, 0, 1234567, LEFT);
lcd_outdezNAtt(0, FH, -1234567, LEFT);
EXPECT_TRUE(checkScreenshot("big_numbers"));
}
#endif // #if defined(CPUARM)
#if !defined(PCBSKY9X)
TEST(EEPROM, 100_random_writes)
{