(t *testing.T)
| 93 | NewCompiler().Compiler(script) |
| 94 | } |
| 95 | func TestArraySlice(t *testing.T) { |
| 96 | script := ` |
| 97 | int[] a = {1,2,3}; |
| 98 | int s=1; |
| 99 | int[] b = a[s:len(a)]; |
| 100 | println(b); |
| 101 | ` |
| 102 | NewCompiler().Compiler(script) |
| 103 | } |
| 104 | func TestArraySlice2(t *testing.T) { |
| 105 | script := ` |
| 106 | string[] a = {"1","2","3"}; |
nothing calls this directly
no test coverage detected