Home
last modified time | relevance | path

Searched refs:TEST_ASSERT_EQUAL_INT32 (Results 1 – 12 of 12) sorted by relevance

/lvgl-latest/tests/src/test_cases/
Dtest_area.c30 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
37 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
44 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
51 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
58 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
65 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
72 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
79 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
86 TEST_ASSERT_EQUAL_INT32(pct_val, LV_COORD_GET_PCT(pct_coord)); in test_pct()
98 TEST_ASSERT_EQUAL_INT32(PCT_MAX_VALUE, LV_COORD_GET_PCT(pct_coord)); in test_pct()
[all …]
Dtest_circle_buf.c51 TEST_ASSERT_EQUAL_INT32(0, value); in test_circle_buf_read_write_peek_values()
63 TEST_ASSERT_EQUAL_INT32(j, value); in test_circle_buf_read_write_peek_values()
78 TEST_ASSERT_EQUAL_INT32(i, value); in test_circle_buf_read_write_peek_values()
88 TEST_ASSERT_EQUAL_INT32(0, lv_circle_buf_size(circle_buf)); in test_circle_buf_read_write_peek_values()
120 TEST_ASSERT_EQUAL_INT32(0, lv_circle_buf_size(circle_buf)); in test_circle_buf_skip_values()
133 TEST_ASSERT_EQUAL_INT32(0, value); in test_circle_buf_read_after_read_and_write()
159 TEST_ASSERT_EQUAL_INT32(i, value); in test_circle_buf_read_after_read_and_write()
Dtest_array.c96 TEST_ASSERT_EQUAL_INT32(i % 4, *v); in test_array_concat()
Dtest_tree.c68 TEST_ASSERT_EQUAL_INT32(100, node->data1); in testCreateAndDelete()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_obj_pos.c38 TEST_ASSERT_EQUAL_INT32(0, lv_obj_get_x(child2)); in test_content_parent_pct_child_pos_1()
39 TEST_ASSERT_EQUAL_INT32(0, lv_obj_get_y(child2)); in test_content_parent_pct_child_pos_1()
44 TEST_ASSERT_EQUAL_INT32(30, lv_obj_get_x(child2)); in test_content_parent_pct_child_pos_1()
45 TEST_ASSERT_EQUAL_INT32(200, lv_obj_get_y(child2)); in test_content_parent_pct_child_pos_1()
50 TEST_ASSERT_EQUAL_INT32(0, lv_obj_get_x(child2)); in test_content_parent_pct_child_pos_1()
51 TEST_ASSERT_EQUAL_INT32(0, lv_obj_get_y(child2)); in test_content_parent_pct_child_pos_1()
Dtest_slider.c56 TEST_ASSERT_EQUAL_INT32(value + 1, new_value); in test_slider_event_keys_right_and_up_increment_value_by_one()
60 TEST_ASSERT_EQUAL_INT32(new_value + 1, lv_slider_get_value(slider)); in test_slider_event_keys_right_and_up_increment_value_by_one()
72 TEST_ASSERT_EQUAL_INT32(value - 1, new_value); in test_slider_event_keys_left_and_down_decrement_value_by_one()
76 TEST_ASSERT_EQUAL_INT32(new_value - 1, lv_slider_get_value(slider)); in test_slider_event_keys_left_and_down_decrement_value_by_one()
87 TEST_ASSERT_EQUAL_INT32(value, lv_slider_get_value(slider)); in test_slider_event_invalid_key_should_not_change_values()
Dtest_bar.c81 TEST_ASSERT_EQUAL_INT32(expected_coord, actual_coord); in test_bar_should_update_indicator_right_coordinate_based_on_bar_value()
136 TEST_ASSERT_EQUAL_INT32(expected_coord, actual_coord); in test_bar_rtl_should_update_indicator_left_coordinate_based_on_bar_value()
255 TEST_ASSERT_EQUAL_INT32(0u, lv_bar_get_start_value(g_bar)); in test_bar_start_value_should_only_change_when_in_range_mode()
261 TEST_ASSERT_EQUAL_INT32(new_start_value, lv_bar_get_start_value(g_bar)); in test_bar_start_value_should_only_change_when_in_range_mode()
271 TEST_ASSERT_EQUAL_INT32(lv_bar_get_value(g_bar), lv_bar_get_start_value(g_bar)); in test_bar_start_value_should_be_smaller_than_current_value_in_range_mode()
280 TEST_ASSERT_EQUAL_INT32(max_value, lv_bar_get_value(g_bar)); in test_bar_current_value_should_be_truncated_to_max_value_when_exceeds_it()
289 TEST_ASSERT_EQUAL_INT32(min_value, lv_bar_get_value(g_bar)); in test_bar_current_value_should_be_truncated_to_min_value_when_it_is_below_it()
Dtest_arc.c221 TEST_ASSERT_EQUAL_INT32(lv_arc_get_min_value(arc), lv_arc_get_value(arc)); in test_arc_click_sustained_from_start_to_end_does_not_set_value_to_max()
237 TEST_ASSERT_EQUAL_INT32(lv_arc_get_min_value(arc), lv_arc_get_value(arc)); in test_arc_click_sustained_from_start_to_end_does_not_set_value_to_max()
Dtest_spinbox.c59 TEST_ASSERT_EQUAL_INT32(expected_value, actual_value); in test_spinbox_decrement_when_min_range_is_negative()
76 TEST_ASSERT_EQUAL_INT32(expected_value, actual_value); in test_spinbox_decrement_when_min_range_is_zero()
Dtest_span.c182 TEST_ASSERT_EQUAL_INT32(lines, lv_spangroup_get_max_lines(spangroup)); in test_spangroup_set_max_lines()
191 TEST_ASSERT_EQUAL_INT32(-1, lines); in test_spangroup_get_max_lines_for_new_span_group()
197 TEST_ASSERT_EQUAL_INT32(3, lines); in test_spangroup_get_max_lines_for_new_span_group()
Dtest_obj_tree.c133 TEST_ASSERT_EQUAL_INT32(0xFFFFFFFF, lv_obj_get_index(child1)); in test_obj_move_to_index_no_operation_when_parent_is_null()
/lvgl-latest/tests/unity/
Dunity.h150 #define TEST_ASSERT_EQUAL_INT32(expected, actual) … macro