Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQUAL_COLOR (Results 1 – 8 of 8) sorted by relevance

/lvgl-latest/tests/src/test_cases/
Dtest_observer.c167 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0x123), lv_subject_get_color(&subject)); in test_observer_color()
168 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0x123), lv_subject_get_previous_color(&subject)); in test_observer_color()
171 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0x456), lv_subject_get_color(&subject)); in test_observer_color()
172 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0x123), lv_subject_get_previous_color(&subject)); in test_observer_color()
175 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0xabc), lv_subject_get_color(&subject)); in test_observer_color()
176 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0x456), lv_subject_get_previous_color(&subject)); in test_observer_color()
180 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0xabc), lv_subject_get_color(&subject)); in test_observer_color()
181 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0x456), lv_subject_get_previous_color(&subject)); in test_observer_color()
184 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0xabc), lv_subject_get_color(&subject)); in test_observer_color()
185 TEST_ASSERT_EQUAL_COLOR(lv_color_hex3(0x456), lv_subject_get_previous_color(&subject)); in test_observer_color()
[all …]
Dtest_style.c105 TEST_ASSERT_EQUAL_COLOR(lv_color_hex(0xff0000), lv_obj_get_style_bg_color(obj, LV_PART_MAIN)); in test_style_replacement()
110 TEST_ASSERT_EQUAL_COLOR(lv_color_hex(0x0000ff), lv_obj_get_style_bg_color(obj, LV_PART_MAIN)); in test_style_replacement()
115 TEST_ASSERT_EQUAL_COLOR(lv_color_hex(0x0000ff), lv_obj_get_style_bg_color(obj, LV_PART_MAIN)); in test_style_replacement()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_led.c44 TEST_ASSERT_EQUAL_COLOR(lv_palette_main(LV_PALETTE_AMBER), ledObj->color); in test_led_set_color_works()
47 TEST_ASSERT_EQUAL_COLOR(lv_palette_main(LV_PALETTE_GREY), ledObj->color); in test_led_set_color_works()
50 TEST_ASSERT_EQUAL_COLOR(lv_palette_main(LV_PALETTE_RED), ledObj->color); in test_led_set_color_works()
Dtest_obj_tree.c31 TEST_ASSERT_EQUAL_COLOR(c1, c2); in test_obj_tree_2()
Dtest_obj_property.c51 TEST_ASSERT_EQUAL_COLOR(color, lv_obj_get_style_bg_color(obj, LV_PART_MAIN)); in test_obj_property_set_get_should_match()
52 TEST_ASSERT_EQUAL_COLOR(color, lv_obj_get_property(obj, LV_PROPERTY_STYLE_BG_COLOR).color); in test_obj_property_set_get_should_match()
/lvgl-latest/tests/src/test_cases/libs/
Dtest_barcode.c37 TEST_ASSERT_EQUAL_COLOR(lv_barcode_get_dark_color(barcode), dark_color); in test_barcode_normal()
38 TEST_ASSERT_EQUAL_COLOR(lv_barcode_get_light_color(barcode), light_color); in test_barcode_normal()
/lvgl-latest/tests/unity/
Dunity_support.h35 # define TEST_ASSERT_EQUAL_COLOR(c1, c2) TEST_ASSERT_TRUE(lv_color_eq(c1, c2)) macro
/lvgl-latest/tests/
DREADME.md55 - `TEST_ASSERT_EQUAL_COLOR(color1, color2)` Compare two colors.