diff options
author | Petri Lehtinen <petri@digip.org> | 2024-03-25 19:11:55 +0200 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2024-03-25 20:08:23 +0200 |
commit | f5b3ab323ca63fe35ed70a3dc73cd9e0e8e6638c (patch) | |
tree | e8c63c8f0de72adc39e33b4c4daccee0a3876977 | |
parent | 9d3abab61047fdc8f5bc8e5e33740549e59221c2 (diff) | |
download | jansson-f5b3ab323ca63fe35ed70a3dc73cd9e0e8e6638c.zip jansson-f5b3ab323ca63fe35ed70a3dc73cd9e0e8e6638c.tar.gz jansson-f5b3ab323ca63fe35ed70a3dc73cd9e0e8e6638c.tar.bz2 |
Add more tests
-rw-r--r-- | test/suites/encoding-flags/real-precision/input | 2 | ||||
-rw-r--r-- | test/suites/encoding-flags/real-precision/output | 2 | ||||
-rw-r--r-- | test/suites/valid/real-exponent-no-dtoa/input | 2 | ||||
-rw-r--r-- | test/suites/valid/real-exponent-no-dtoa/output | 2 | ||||
-rw-r--r-- | test/suites/valid/real-exponent/input | 2 | ||||
-rw-r--r-- | test/suites/valid/real-exponent/output | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/test/suites/encoding-flags/real-precision/input b/test/suites/encoding-flags/real-precision/input index e291165..146aeb9 100644 --- a/test/suites/encoding-flags/real-precision/input +++ b/test/suites/encoding-flags/real-precision/input @@ -1 +1 @@ -[1.23456789, 1.0, 1.0000000000000002] +[1.23456789, 1.0, 1.0000000000000002, 1.23456e99, 1.23456e-99, 0.0000000000012345] diff --git a/test/suites/encoding-flags/real-precision/output b/test/suites/encoding-flags/real-precision/output index f273c73..36c8639 100644 --- a/test/suites/encoding-flags/real-precision/output +++ b/test/suites/encoding-flags/real-precision/output @@ -1 +1 @@ -[1.235, 1.0, 1.0]
\ No newline at end of file +[1.235, 1.0, 1.0, 1.235e99, 1.235e-99, 1.235e-12]
\ No newline at end of file diff --git a/test/suites/valid/real-exponent-no-dtoa/input b/test/suites/valid/real-exponent-no-dtoa/input index b2a69b9..c990596 100644 --- a/test/suites/valid/real-exponent-no-dtoa/input +++ b/test/suites/valid/real-exponent-no-dtoa/input @@ -1 +1 @@ -[123e45] +[1.23e47, 0.1, 0.3, 9.99] diff --git a/test/suites/valid/real-exponent-no-dtoa/output b/test/suites/valid/real-exponent-no-dtoa/output index 5ffc719..c36687c 100644 --- a/test/suites/valid/real-exponent-no-dtoa/output +++ b/test/suites/valid/real-exponent-no-dtoa/output @@ -1 +1 @@ -[1.2299999999999999e47]
\ No newline at end of file +[1.2299999999999999e47, 0.10000000000000001, 0.29999999999999999, 9.9900000000000002]
\ No newline at end of file diff --git a/test/suites/valid/real-exponent/input b/test/suites/valid/real-exponent/input index b2a69b9..c990596 100644 --- a/test/suites/valid/real-exponent/input +++ b/test/suites/valid/real-exponent/input @@ -1 +1 @@ -[123e45] +[1.23e47, 0.1, 0.3, 9.99] diff --git a/test/suites/valid/real-exponent/output b/test/suites/valid/real-exponent/output index 9b2c601..51c590f 100644 --- a/test/suites/valid/real-exponent/output +++ b/test/suites/valid/real-exponent/output @@ -1 +1 @@ -[1.23e47]
\ No newline at end of file +[1.23e47, 0.1, 0.3, 9.99]
\ No newline at end of file |