mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
b test
fix test fail because separate threads
This commit is contained in:
@@ -23,6 +23,7 @@ TEST(UI_slider, set_value)
|
||||
{
|
||||
UI_slider slider("slider_id", "slider_text", Color(255, 255, 255), Color(0, 0, 0), 0, 100, 50, on_change);
|
||||
slider.set_value(75);
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1));
|
||||
EXPECT_EQ(val, 75);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user