(t *testing.T)
| 81 | NewCompiler().Compiler(script) |
| 82 | } |
| 83 | func TestStringBuilder6(t *testing.T) { |
| 84 | script := ` |
| 85 | Strings s = Strings(); |
| 86 | bool b = s.hasPrefix("http://www.xx.com", "http"); |
| 87 | println(b); |
| 88 | assertEqual(b,true); |
| 89 | b = s.hasPrefix("http://www.xx.com", "https"); |
| 90 | println(b); |
| 91 | assertEqual(b,false); |
| 92 | ` |
| 93 | NewCompiler().Compiler(script) |
| 94 | } |
| 95 | func TestArraySlice(t *testing.T) { |
| 96 | script := ` |
| 97 | int[] a = {1,2,3}; |
nothing calls this directly
no test coverage detected