(t *testing.T)
| 5 | ) |
| 6 | |
| 7 | func TestServiceCompiledIs(t *testing.T) { |
| 8 | if compiled, err := compile(&testOracle); err != nil { |
| 9 | t.Fatal(err) |
| 10 | } else if !compiled.Is(testOracle) { |
| 11 | t.Fatal("compiled object does not match source oracle") |
| 12 | } |
| 13 | } |
| 14 | |
| 15 | func TestServiceCompiledIsNot(t *testing.T) { |
| 16 | if compiled, err := compile(&testOracle); err != nil { |