Searched refs:TEST_ASSERT_EQUAL_COLOR (Results 1 – 8 of 8) sorted by relevance
/lvgl-latest/tests/src/test_cases/ |
D | test_observer.c | 167 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 …]
|
D | test_style.c | 105 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/ |
D | test_led.c | 44 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()
|
D | test_obj_tree.c | 31 TEST_ASSERT_EQUAL_COLOR(c1, c2); in test_obj_tree_2()
|
D | test_obj_property.c | 51 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/ |
D | test_barcode.c | 37 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/ |
D | unity_support.h | 35 # define TEST_ASSERT_EQUAL_COLOR(c1, c2) TEST_ASSERT_TRUE(lv_color_eq(c1, c2)) macro
|
/lvgl-latest/tests/ |
D | README.md | 55 - `TEST_ASSERT_EQUAL_COLOR(color1, color2)` Compare two colors.
|