test core.stringify

This commit is contained in:
Gwenhael Le Moine 2022-02-09 16:35:17 +01:00
parent 7d1a91705b
commit 717e04549e
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -24,4 +24,11 @@ class TestParser < Test::Unit::TestCase
{ value: 'test', type: :string }],
args
end
def test_stringify
assert_equal '∞',
Rpl::Lang.stringify( { value: Float::INFINITY,
base: 10,
type: :numeric } )
end
end