acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
test_config.c (450B)
1 #if LV_BUILD_TEST 2 #include "../lvgl.h" 3 4 #include "unity/unity.h" 5 6 void test_config(void); 7 8 void test_config(void) 9 { 10 TEST_ASSERT_EQUAL(130, LV_DPI_DEF); 11 TEST_ASSERT_EQUAL(130, lv_disp_get_dpi(NULL)); 12 TEST_ASSERT_EQUAL(800, LV_HOR_RES); 13 TEST_ASSERT_EQUAL(800, lv_disp_get_hor_res(NULL)); 14 TEST_ASSERT_EQUAL(480, LV_VER_RES); 15 TEST_ASSERT_EQUAL(480, lv_disp_get_ver_res(NULL)); 16 TEST_ASSERT_EQUAL(32, LV_COLOR_DEPTH); 17 } 18 19 #endif