mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
code formatting
This commit is contained in:
parent
b962fbb15c
commit
3d58f8d471
@ -1,8 +1,8 @@
|
|||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
|
|
||||||
using namespace std::chrono;
|
using namespace std::chrono;
|
||||||
using std::chrono::system_clock;
|
|
||||||
using std::chrono::milliseconds;
|
using std::chrono::milliseconds;
|
||||||
|
using std::chrono::system_clock;
|
||||||
|
|
||||||
system_clock::time_point now_millis()
|
system_clock::time_point now_millis()
|
||||||
{
|
{
|
||||||
@ -21,7 +21,6 @@ TEST_CASE("dequeue-empty-nowait", "[mpmc_blocking_q]")
|
|||||||
|
|
||||||
REQUIRE(rv == false);
|
REQUIRE(rv == false);
|
||||||
REQUIRE((millis_1 - millis_0) <= tolerance_wait);
|
REQUIRE((millis_1 - millis_0) <= tolerance_wait);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]")
|
TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]")
|
||||||
@ -43,7 +42,6 @@ TEST_CASE("dequeue-empty-wait", "[mpmc_blocking_q]")
|
|||||||
REQUIRE(delta_ms <= wait_ms + tolerance_wait);
|
REQUIRE(delta_ms <= wait_ms + tolerance_wait);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE("enqueue_nowait", "[mpmc_blocking_q]")
|
TEST_CASE("enqueue_nowait", "[mpmc_blocking_q]")
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user