From 406ad01fd0a76714022961a928f392b91c6f9eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 5 Feb 2017 21:20:04 -0800 Subject: [PATCH] Cleanup. --- tests/thread_test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/thread_test.cpp b/tests/thread_test.cpp index 54f24f3..8d09931 100644 --- a/tests/thread_test.cpp +++ b/tests/thread_test.cpp @@ -16,23 +16,23 @@ int32_t threadExit1(void*) return 1; } -TEST(thread) +TEST_CASE("thread", "") { bx::Thread th; - CHECK_EQUAL(th.isRunning(), false); + REQUIRE(!th.isRunning() ); th.init(threadExit0); - CHECK_EQUAL(th.isRunning(), true); + REQUIRE(th.isRunning() ); th.shutdown(); - CHECK_EQUAL(th.isRunning(), false); - CHECK_EQUAL(th.getExitCode(), 0); + REQUIRE(!th.isRunning() ); + REQUIRE(th.getExitCode() == 0); th.init(threadExit1); - CHECK_EQUAL(th.isRunning(), true); + REQUIRE(th.isRunning() ); th.shutdown(); - CHECK_EQUAL(th.isRunning(), false); - CHECK_EQUAL(th.getExitCode(), 1); + REQUIRE(!th.isRunning() ); + REQUIRE(th.getExitCode() == 1); }