summaryrefslogtreecommitdiffstatshomepage
path: root/tests/emu/attotime.cpp
blob: 7d170c32abec80d719a15eccfc67bf681245447c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "gtest/gtest.h"
#include "emucore.h"
#include "eminline.h"
#include "attotime.h"

TEST(attotime,as_attoseconds) 
{
   attotime value = attotime::from_seconds(1);
   EXPECT_EQ(1000000000000000000, value.as_attoseconds());
}