mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 15:23:48 +01:00
Bluon tests: Remove outdated comment
This commit is contained in:
parent
3877e339c6
commit
ead91a1e5d
2
test.lua
2
test.lua
@ -292,6 +292,7 @@ local function serializer_test(is_json, preserve)
|
|||||||
assert_preserves((random() - 0.5) * 2^random(-20, 20))
|
assert_preserves((random() - 0.5) * 2^random(-20, 20))
|
||||||
end
|
end
|
||||||
assert_preserves(2.9145637014948988508e-06)
|
assert_preserves(2.9145637014948988508e-06)
|
||||||
|
assert_preserves(1.1496387980481e-07)
|
||||||
-- Simple tables
|
-- Simple tables
|
||||||
assert_preserves{hello = "world", welt = "hallo"}
|
assert_preserves{hello = "world", welt = "hallo"}
|
||||||
assert_preserves{a = 1, b = "hallo", c = "true"}
|
assert_preserves{a = 1, b = "hallo", c = "true"}
|
||||||
@ -350,7 +351,6 @@ end
|
|||||||
|
|
||||||
-- bluon
|
-- bluon
|
||||||
do
|
do
|
||||||
-- TODO 1.1496387980481e-07 fails due to precision issues
|
|
||||||
serializer_test(false, function(object)
|
serializer_test(false, function(object)
|
||||||
local rope = table.rope{}
|
local rope = table.rope{}
|
||||||
local written, read, input
|
local written, read, input
|
||||||
|
Loading…
Reference in New Issue
Block a user