(t *testing.T)
| 49 | } |
| 50 | |
| 51 | func TestNumeric(t *testing.T) { |
| 52 | assert := assert.To(t) |
| 53 | for _, test := range numericTests { |
| 54 | r := parse.NewReader("reader_test.api", test.in) |
| 55 | assert.For("kind").Add("in", test.in).That(r.Numeric()).Equals(test.outKind) |
| 56 | assert.For("token").Add("in", test.in).That(r.Token().String()).Equals(test.outToken) |
| 57 | } |
| 58 | } |