summaryrefslogtreecommitdiffstatshomepage
path: root/tests/emu
diff options
context:
space:
mode:
Diffstat (limited to 'tests/emu')
-rw-r--r--tests/emu/attotime.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/emu/attotime.cpp b/tests/emu/attotime.cpp
index 7d170c32abe..e37954b249f 100644
--- a/tests/emu/attotime.cpp
+++ b/tests/emu/attotime.cpp
@@ -1,10 +1,11 @@
-#include "gtest/gtest.h"
+#include "catch.hpp"
+
#include "emucore.h"
#include "eminline.h"
#include "attotime.h"
-TEST(attotime,as_attoseconds)
+TEST_CASE("convert 1 sec to attotime", "[emu]")
{
attotime value = attotime::from_seconds(1);
- EXPECT_EQ(1000000000000000000, value.as_attoseconds());
+ REQUIRE(1000000000000000000 == value.as_attoseconds());
}