(t *testing.T)
| 1001 | } |
| 1002 | |
| 1003 | func TestMarshalNumberZeroVal(t *testing.T) { |
| 1004 | var n Number |
| 1005 | out, err := Marshal(n) |
| 1006 | if err != nil { |
| 1007 | t.Fatal(err) |
| 1008 | } |
| 1009 | outStr := string(out) |
| 1010 | if outStr != "0" { |
| 1011 | t.Fatalf("Invalid zero val for Number: %q", outStr) |
| 1012 | } |
| 1013 | } |
| 1014 | |
| 1015 | func TestMarshalEmbeds(t *testing.T) { |
| 1016 | top := &Top{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…