diff --git a/data/roundtrip/roundtrip28.json b/data/roundtrip/roundtrip28.json new file mode 100644 index 00000000..49923179 --- /dev/null +++ b/data/roundtrip/roundtrip28.json @@ -0,0 +1 @@ +[NaN] \ No newline at end of file diff --git a/data/roundtrip/roundtrip29.json b/data/roundtrip/roundtrip29.json new file mode 100644 index 00000000..8c2baf78 --- /dev/null +++ b/data/roundtrip/roundtrip29.json @@ -0,0 +1 @@ +[Infinity] \ No newline at end of file diff --git a/data/roundtrip/roundtrip30.json b/data/roundtrip/roundtrip30.json new file mode 100644 index 00000000..7602aa15 --- /dev/null +++ b/data/roundtrip/roundtrip30.json @@ -0,0 +1 @@ +[NaN,Infinity,-Infinity] \ No newline at end of file diff --git a/test/test_roundtrip.py b/test/test_roundtrip.py index ac308877..78a57cf3 100644 --- a/test/test_roundtrip.py +++ b/test/test_roundtrip.py @@ -172,3 +172,21 @@ def test_roundtrip027(self): roundtrip027.json """ self._run_roundtrip_json("roundtrip27.json") + + def test_roundtrip028(self): + """ + roundtrip028.json + """ + self._run_roundtrip_json("roundtrip28.json") + + def test_roundtrip029(self): + """ + roundtrip029.json + """ + self._run_roundtrip_json("roundtrip29.json") + + def test_roundtrip030(self): + """ + roundtrip030.json + """ + self._run_roundtrip_json("roundtrip30.json")