File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,12 @@ void testTextExtents() {
7474 int bl;
7575 handler->setFont (OpenSansCyrillicLatin18);
7676 Coord coord = handler->textExtents (" Abc" , &bl, false );
77- TEST_ASSERT_EQUAL_INT16 (41 , coord.x );
77+ TEST_ASSERT_EQUAL_INT16 (43 , coord.x );
7878 TEST_ASSERT_EQUAL_INT16 (28 , coord.y );
7979
8080 handler->setFont (RobotoMedium24);
8181 coord = handler->textExtents (" Abc" , &bl, false );
82- TEST_ASSERT_EQUAL_INT16 (45 , coord.x );
82+ TEST_ASSERT_EQUAL_INT16 (58 , coord.x );
8383 TEST_ASSERT_EQUAL_INT16 (33 , coord.y );
8484}
8585
@@ -125,10 +125,10 @@ void testAdafruitFont() {
125125
126126void setup () {
127127 UNITY_BEGIN ();
128- RUN_TEST_WITH_PRINT (testTextExtents);
129128 RUN_TEST_WITH_PRINT (testGetGlyphOnEachRange);
130129 RUN_TEST_WITH_PRINT (testReadingEveryGlyphInRange);
131130 RUN_TEST_WITH_PRINT (testAdafruitFont);
131+ RUN_TEST_WITH_PRINT (testTextExtents);
132132 UNITY_END ();
133133}
134134
You can’t perform that action at this time.
0 commit comments