github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/extern/m1/main_test.gno (about) 1 package main 2 3 import ( 4 "fmt" 5 "math/rand" 6 "testing" 7 ) 8 9 func TestMain(t *testing.T) { 10 fmt.Println("in test") 11 } 12 13 func BenchmarkMain(b *testing.B) { 14 for i := 0; i < b.N; i++ { 15 rand.Int() 16 } 17 }