(t *testing.T)
| 13875 | } |
| 13876 | } |
| 13877 | func TestNidRepNativeGoString(t *testing.T) { |
| 13878 | popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) |
| 13879 | p := NewPopulatedNidRepNative(popr, false) |
| 13880 | s1 := p.GoString() |
| 13881 | s2 := fmt.Sprintf("%#v", p) |
| 13882 | if s1 != s2 { |
| 13883 | t.Fatalf("GoString want %v got %v", s1, s2) |
| 13884 | } |
| 13885 | _, err := go_parser.ParseExpr(s1) |
| 13886 | if err != nil { |
| 13887 | t.Fatal(err) |
| 13888 | } |
| 13889 | } |
| 13890 | func TestNinRepNativeGoString(t *testing.T) { |
| 13891 | popr := math_rand.New(math_rand.NewSource(time.Now().UnixNano())) |
| 13892 | p := NewPopulatedNinRepNative(popr, false) |
nothing calls this directly
no test coverage detected
searching dependent graphs…