blob: 9ddb931ee52712509078c8310b214cd2b34a0495 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#include "catch.hpp"
#include "emucore.h"
#include "eminline.h"
#include "attotime.h"
TEST_CASE("convert 1 sec to attotime", "[emu]")
{
attotime value = attotime::from_seconds(1);
REQUIRE(value.as_attoseconds() == U64(1000000000000000000));
}
|