This PR sets up the new integrated test/bench suite. It then migrates all benchmarks and some related tests to the new suite. There's also some documentation and some linting. For now, a lot of the old tests are left alone so this PR doesn't become even larger than it already is. Eventually, all tests should be migrated to the new suite though so there isn't a confusing mix of two systems.
39 lines
816 B
Text
39 lines
816 B
Text
"null"
|
|
"false"
|
|
"true"
|
|
"0.0000123456"
|
|
"1234560000"
|
|
"-1000000"
|
|
"\"\""
|
|
"\"abc\""
|
|
"[true, 123, \"foo\", []]"
|
|
"{\"e\": [{}], \"d\": {\"foo\": \"bar\"}, \"c\": null, \"b\": \"foo\", \"a\": 1.2}"
|
|
"offset 7: unexpected character in array"
|
|
"offset 1: unexpected end of input"
|
|
"offset 0: unexpected input"
|
|
"offset 1: unexpected end of input"
|
|
"offset 1: unexpected end of input"
|
|
"offset 2: unexpected end of input"
|
|
"offset 1: expected \""
|
|
"offset 3: unexpected end of input"
|
|
"2"
|
|
"-2"
|
|
"0.1"
|
|
"-0.1"
|
|
"-1000000"
|
|
"0.0000123456"
|
|
true
|
|
true
|
|
true
|
|
true
|
|
0.000000
|
|
0.000000
|
|
1.000000
|
|
-1.000000
|
|
10000000000000000159028911097599180468360808563945281389781327557747838772170381060813469985856815104.000000
|
|
123.456789
|
|
NaN
|
|
inf
|
|
-inf
|
|
Except.ok { jam := { hello := "world", cheese? := none } }
|
|
Except.error "Test2.jam: Test1.hello: String expected"
|