mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Update test_stopwatch.cpp
This commit is contained in:
parent
262acfdeb5
commit
839ea957ab
@ -6,7 +6,7 @@ TEST_CASE("stopwatch1", "[stopwatch]")
|
||||
{
|
||||
using std::chrono::milliseconds;
|
||||
using clock = std::chrono::steady_clock;
|
||||
milliseconds wait_ms(250);
|
||||
milliseconds wait_ms(200);
|
||||
milliseconds tolerance_ms(250);
|
||||
auto start = clock::now();
|
||||
spdlog::stopwatch sw;
|
||||
@ -24,7 +24,7 @@ TEST_CASE("stopwatch2", "[stopwatch]")
|
||||
using std::chrono::milliseconds;
|
||||
using clock = std::chrono::steady_clock;
|
||||
|
||||
clock::duration wait_duration(milliseconds(250));
|
||||
clock::duration wait_duration(milliseconds(200));
|
||||
clock::duration tolerance_duration(milliseconds(250));
|
||||
|
||||
auto test_sink = std::make_shared<test_sink_st>();
|
||||
|
Loading…
Reference in New Issue
Block a user