From ead91a1e5d041f88224900c2c65de4bafbab47b9 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Sat, 7 May 2022 14:14:21 +0200 Subject: [PATCH] Bluon tests: Remove outdated comment --- test.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.lua b/test.lua index ddd2832..f6bfc41 100644 --- a/test.lua +++ b/test.lua @@ -292,6 +292,7 @@ local function serializer_test(is_json, preserve) assert_preserves((random() - 0.5) * 2^random(-20, 20)) end assert_preserves(2.9145637014948988508e-06) + assert_preserves(1.1496387980481e-07) -- Simple tables assert_preserves{hello = "world", welt = "hallo"} assert_preserves{a = 1, b = "hallo", c = "true"} @@ -350,7 +351,6 @@ end -- bluon do - -- TODO 1.1496387980481e-07 fails due to precision issues serializer_test(false, function(object) local rope = table.rope{} local written, read, input