(t *testing.T)
| 18 | declare.Print(Indent) |
| 19 | } |
| 20 | func TestCalculator2(t *testing.T) { |
| 21 | script := "int a = 2+3*5\n" |
| 22 | types := token.Tokenize(script) |
| 23 | reader := NewTokenReader(types) |
| 24 | declare, err := IntDeclare(reader) |
| 25 | assert.Nil(t, err) |
| 26 | log.Println("==============") |
| 27 | declare.Print(Indent) |
| 28 | } |
| 29 | func TestCalculator3(t *testing.T) { |
| 30 | script := "int a = " |
| 31 | types := token.Tokenize(script) |
nothing calls this directly
no test coverage detected