Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQUAL_UINT16 (Results 1 – 9 of 9) sorted by relevance

/lvgl-latest/tests/src/test_cases/widgets/
Dtest_line.c27 TEST_ASSERT_EQUAL_UINT16(default_point_num, lv_line_get_point_count(line)); in test_line_should_have_valid_documented_default_values()
32 TEST_ASSERT_EQUAL_UINT16(0U, lv_obj_get_self_width(line)); in test_line_should_have_valid_documented_default_values()
33 TEST_ASSERT_EQUAL_UINT16(0U, lv_obj_get_self_height(line)); in test_line_should_have_valid_documented_default_values()
58 TEST_ASSERT_EQUAL_UINT16(calculated_width, lv_obj_get_self_width(line)); in test_line_size_should_be_updated_after_adding_points()
59 TEST_ASSERT_EQUAL_UINT16(calculated_height, lv_obj_get_self_height(line)); in test_line_size_should_be_updated_after_adding_points()
Dtest_btnmatrix.c208 TEST_ASSERT_EQUAL_UINT16(2, lv_buttonmatrix_get_selected_button(btnm)); in test_button_matrix_set_selected_button_works()
211 TEST_ASSERT_EQUAL_UINT16(0, lv_buttonmatrix_get_selected_button(btnm)); in test_button_matrix_set_selected_button_works()
214 TEST_ASSERT_EQUAL_UINT16(3, lv_buttonmatrix_get_selected_button(btnm)); in test_button_matrix_set_selected_button_works()
217 TEST_ASSERT_EQUAL_UINT16(1, lv_buttonmatrix_get_selected_button(btnm)); in test_button_matrix_set_selected_button_works()
Dtest_obj_property.c93 TEST_ASSERT_EQUAL_UINT16(0x1234, lv_image_get_offset_x(img)); in test_obj_property_set_get_should_match()
94 TEST_ASSERT_EQUAL_UINT16(0x1234, lv_obj_get_property(img, LV_PROPERTY_IMAGE_OFFSET_X).num); in test_obj_property_set_get_should_match()
248 TEST_ASSERT_EQUAL_UINT16(0x1234, prop_get.point.x); in test_obj_property_type_point()
249 TEST_ASSERT_EQUAL_UINT16(0x5678, prop_get.point.y); in test_obj_property_type_point()
Dtest_arc.c159 TEST_ASSERT_EQUAL_UINT16(expected_start_angle, lv_arc_get_angle_start(arcBlack)); in test_arc_angles_when_reversed()
160 TEST_ASSERT_EQUAL_UINT16(expected_end_angle, lv_arc_get_angle_end(arcBlack)); in test_arc_angles_when_reversed()
Dtest_tabview.c251 TEST_ASSERT_EQUAL_UINT16(1, lv_tabview_get_tab_active(tabview)); in test_tabview_tab2_selected_event()
286 TEST_ASSERT_EQUAL_UINT16(2, lv_tabview_get_tab_active(tabview)); in test_tabview_update_on_external_scroll()
Dtest_textarea.c58 TEST_ASSERT_EQUAL_UINT16(expected_size, lv_obj_get_width(txt_ptr->label)); in test_textarea_should_update_label_style_with_one_line_enabled()
59 TEST_ASSERT_EQUAL_UINT16(lv_pct(100), lv_obj_get_style_min_width(txt_ptr->label, LV_PART_MAIN)); in test_textarea_should_update_label_style_with_one_line_enabled()
Dtest_table.c43 TEST_ASSERT_EQUAL_UINT16(1, original_column_count); in test_table_should_grow_columns_automatically_when_setting_formatted_cell_value()
50 TEST_ASSERT_EQUAL_UINT16(expected_column_count, lv_table_get_column_count(table)); in test_table_should_grow_columns_automatically_when_setting_formatted_cell_value()
Dtest_animimg.c82 TEST_ASSERT_EQUAL_UINT16(actual_duration, expected_duration); in test_animimg_set_duration()
/lvgl-latest/tests/unity/
Dunity.h154 #define TEST_ASSERT_EQUAL_UINT16(expected, actual) … macro