blob: f948fd0aee92a573c685814b93e717b1d1f5fe8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "testing.h"
#include "time.h"
#include "types.h"
i32 test_time_diff() {
Time start = Time_get();
Time end = Time_get();
Duration diff = Time_diff(end, start);
t_assert_equal(diff.s, 0);
return 0;
}
|