github.com/traefik/yaegi@v0.15.1/_test/m1/main_test.go (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  }