diff options
author | Zhang Ji Peng <onecoolx@gmail.com> | 2023-11-09 18:37:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 11:37:33 +0100 |
commit | 8cf0bbb558676858c4a647f16c876571e7d7c3bb (patch) | |
tree | cae8223e3b83c69decd60dcd99ef48a459069b6c /tests/unity/unity_support.c | |
parent | 3bb649db7f57d36e7889918bbc04e1f7d4b78b28 (diff) | |
download | lvgl-8cf0bbb558676858c4a647f16c876571e7d7c3bb.tar.gz lvgl-8cf0bbb558676858c4a647f16c876571e7d7c3bb.zip |
feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Diffstat (limited to 'tests/unity/unity_support.c')
-rw-r--r-- | tests/unity/unity_support.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unity/unity_support.c b/tests/unity/unity_support.c index 2cb7222b9..935e14a25 100644 --- a/tests/unity/unity_support.c +++ b/tests/unity/unity_support.c @@ -103,11 +103,12 @@ bool lv_test_assert_image_eq(const char * fn_ref) uint32_t act_px = 0; memcpy(&ref_px, ptr_ref, 3); memcpy(&act_px, ptr_act, 3); - //printf("0xFF%06x, ", act_px); uint8_t act_swap[3] = {ptr_act[2], ptr_act[1], ptr_act[0]}; if(memcmp(act_swap, ptr_ref, 3) != 0) { + TEST_PRINTF("Error on x:%d, y:%d. Expected %X, Actual %X", x, y, ref_px, act_px); + fflush(stderr); err = true; break; } @@ -130,6 +131,7 @@ bool lv_test_assert_image_eq(const char * fn_ref) png_release(&p); + fflush(stdout); return !err; } |