mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
test: update frame rate cap check
This commit is contained in:
@@ -21,7 +21,7 @@ static void check_settings_frame_rate_cap(void *arg)
|
||||
|
||||
sprintf(str, "should work when frame cap is %d (actual %d)", fps_limit,
|
||||
fps);
|
||||
it_b(str, fps <= fps_limit && fps > fps_limit - 10, TRUE);
|
||||
it_b(str, fps <= fps_limit && fps > fps_limit / 2, TRUE);
|
||||
LCUI_Quit();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user