Emulator+Test: Add main and example unit test

This commit is contained in:
Riyyi
2022-08-17 18:20:11 +02:00
parent 45fba7f693
commit c5d5ffc1eb
2 changed files with 29 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#include <cstdio>
#include "ruc/timer.h"
int main(int argc, char* argv[])
{
ruc::Timer t;
printf("%fms\n", t.elapsedNanoseconds() / 1000000.0);
return 0;
}