diff --git a/test/suites/encoding-flags/real-precision/env b/test/suites/encoding-flags/real-precision/env new file mode 100644 index 0000000..9c52cbc --- /dev/null +++ b/test/suites/encoding-flags/real-precision/env @@ -0,0 +1,2 @@ +JSON_REAL_PRECISION=4 +export JSON_REAL_PRECISION diff --git a/test/suites/encoding-flags/real-precision/input b/test/suites/encoding-flags/real-precision/input new file mode 100644 index 0000000..e291165 --- /dev/null +++ b/test/suites/encoding-flags/real-precision/input @@ -0,0 +1 @@ +[1.23456789, 1.0, 1.0000000000000002] diff --git a/test/suites/encoding-flags/real-precision/output b/test/suites/encoding-flags/real-precision/output new file mode 100644 index 0000000..f273c73 --- /dev/null +++ b/test/suites/encoding-flags/real-precision/output @@ -0,0 +1 @@ +[1.235, 1.0, 1.0] \ No newline at end of file