Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 package tests | |
| 2 | |
| 3 import "mojo/go/system/embedder" | |
| 4 import "mojo/go/system/impl" | |
| 5 import "mojo/public/go/mojo/system" | |
| 6 import "testing" | |
| 7 | |
| 8 func Init() { | |
| 9 embedder.InitializeMojoEmbedder(); | |
| 10 } | |
| 11 | |
| 12 func TestGetTimeTicksNow(t *testing.T) { | |
| 13 Init(); | |
| 14 var c system.Core = impl.GetCore(); | |
| 15 x := c.GetTimeTicksNow(); | |
| 16 if (x < 10) { | |
| 17 t.Error("hi"); | |
| 18 } | |
| 19 } | |
| OLD | NEW |