From eaae88f072f81b3ff244181e3d0a3845314fc644 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Sat, 9 Feb 2013 16:32:17 -0800 Subject: [PATCH] add additional exp tests to float --- src/jsx_tests.hrl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jsx_tests.hrl b/src/jsx_tests.hrl index c7e26fb..89860ea 100644 --- a/src/jsx_tests.hrl +++ b/src/jsx_tests.hrl @@ -83,6 +83,8 @@ naked_floats() -> ++ [{"-0.0", <<"-0.0">>, 0.0, [{float, 0.0}]}] ++ [{"1e0", <<"1e0">>, 1.0, [{float, 1.0}]}] ++ [{"0e0", <<"0e0">>, 0.0, [{float, 0.0}]}] + ++ [{"1e4", <<"1e4">>, 1.0e4, [{float, 1.0e4}]}] + ++ [{"0e4", <<"0e4">>, 0.0, [{float, 0.0}]}] ++ [{"-1e0", <<"-1e0">>, -1.0, [{float, -1.0}]}].