(t *testing.T)
| 63 | NewCompiler().Compiler(script) |
| 64 | } |
| 65 | func TestStringBuilder4(t *testing.T) { |
| 66 | script := ` |
| 67 | int[] a = [0]{1,2}; |
| 68 | println(len(a)); |
| 69 | println(cap(a)); |
| 70 | append(a,3); |
| 71 | println(cap(a)); |
| 72 | assertEqual(cap(a),4); |
| 73 | ` |
| 74 | NewCompiler().Compiler(script) |
| 75 | } |
| 76 | func TestStringBuilder5(t *testing.T) { |
| 77 | script := ` |
| 78 | StringBuilder sb = StringBuilder(); |
nothing calls this directly
no test coverage detected