persing minus sign and exponents for numeric values

This commit is contained in:
cozis
2022-04-24 23:12:35 +02:00
parent 841e3f75fa
commit 113830d092
7 changed files with 132 additions and 10 deletions
+15
View File
@@ -13,10 +13,25 @@ static const struct {
TEST("null"),
TEST("true"),
TEST("false"),
TEST("1"),
TEST("100"),
TEST("-1"),
TEST("-100"),
TEST("1.0"),
TEST("100.111"),
TEST("-1.0"),
TEST("-100.111"),
TEST("1e1"),
TEST("100e1"),
TEST("-1e1"),
TEST("-100e1"),
TEST("1.0e1"),
TEST("100.111e1"),
TEST("-1.0e1"),
TEST("-100.111e10"),
TEST("[]"),
TEST("[1, 2, 3]"),
TEST("{}"),