summaryrefslogtreecommitdiffstatshomepage
path: root/tests/emu/attotime.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-11-12 14:54:21 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-11-12 14:54:21 +0100
commit75c6c0f059c955f0fa8b5f99e30dc650f0503147 (patch)
treee543dcf4ff8fff9a49f0e291d1657fe22d9a9121 /tests/emu/attotime.cpp
parent3c577aedb88337775be37d564b6ebe1a3d74c8c3 (diff)
Make executable for test follow rules for main file (nw)
Make normal notation for require (nw) Split properly tests (nw)
Diffstat (limited to 'tests/emu/attotime.cpp')
-rw-r--r--tests/emu/attotime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emu/attotime.cpp b/tests/emu/attotime.cpp
index e37954b249f..9ddb931ee52 100644
--- a/tests/emu/attotime.cpp
+++ b/tests/emu/attotime.cpp
@@ -7,5 +7,5 @@
TEST_CASE("convert 1 sec to attotime", "[emu]")
{
attotime value = attotime::from_seconds(1);
- REQUIRE(1000000000000000000 == value.as_attoseconds());
+ REQUIRE(value.as_attoseconds() == U64(1000000000000000000));
}