File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,12 +74,12 @@ void testTextExtents() {
74
74
int bl;
75
75
handler->setFont (OpenSansCyrillicLatin18);
76
76
Coord coord = handler->textExtents (" Abc" , &bl, false );
77
- TEST_ASSERT_EQUAL_INT16 (41 , coord.x );
77
+ TEST_ASSERT_EQUAL_INT16 (43 , coord.x );
78
78
TEST_ASSERT_EQUAL_INT16 (28 , coord.y );
79
79
80
80
handler->setFont (RobotoMedium24);
81
81
coord = handler->textExtents (" Abc" , &bl, false );
82
- TEST_ASSERT_EQUAL_INT16 (45 , coord.x );
82
+ TEST_ASSERT_EQUAL_INT16 (58 , coord.x );
83
83
TEST_ASSERT_EQUAL_INT16 (33 , coord.y );
84
84
}
85
85
@@ -125,10 +125,10 @@ void testAdafruitFont() {
125
125
126
126
void setup () {
127
127
UNITY_BEGIN ();
128
- RUN_TEST_WITH_PRINT (testTextExtents);
129
128
RUN_TEST_WITH_PRINT (testGetGlyphOnEachRange);
130
129
RUN_TEST_WITH_PRINT (testReadingEveryGlyphInRange);
131
130
RUN_TEST_WITH_PRINT (testAdafruitFont);
131
+ RUN_TEST_WITH_PRINT (testTextExtents);
132
132
UNITY_END ();
133
133
}
134
134
You can’t perform that action at this time.
0 commit comments