mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
11 lines
246 B
C++
11 lines
246 B
C++
#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() == 1000000000000000000);
|
|
}
|