Skip to content

Commit 9f4e72e

Browse files
committed
test: update frame rate cap check
1 parent dbf30dd commit 9f4e72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_settings.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static void check_settings_frame_rate_cap(void *arg)
2121

2222
sprintf(str, "should work when frame cap is %d (actual %d)", fps_limit,
2323
fps);
24-
it_b(str, fps <= fps_limit && fps > fps_limit - 10, TRUE);
24+
it_b(str, fps <= fps_limit && fps > fps_limit / 2, TRUE);
2525
LCUI_Quit();
2626
}
2727

0 commit comments

Comments
 (0)