chore: add failing test with string float numbers

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2023-02-05 23:14:28 +01:00
parent 5959a756af
commit c41510b332
No known key found for this signature in database
GPG Key ID: 31AB0439F4C5C90E
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,8 @@ func createNumberTestSteps(zero, one, eight, eightnegative, eightpoint31, eightp
{uint64(8), eight, false}, {uint64(8), eight, false},
{float32(8.31), eightpoint31_32, false}, {float32(8.31), eightpoint31_32, false},
{float64(8.31), eightpoint31, false}, {float64(8.31), eightpoint31, false},
{"8.31", eightpoint31_32, false},
{"8.31", eightpoint31, false},
{true, one, false}, {true, one, false},
{false, zero, false}, {false, zero, false},
{"8", eight, false}, {"8", eight, false},
@ -67,6 +69,8 @@ func createNumberTestSteps(zero, one, eight, eightnegative, eightpoint31, eightp
{int64(-8), eightnegative, isUint}, {int64(-8), eightnegative, isUint},
{float32(-8.31), eightpoint31negative_32, isUint}, {float32(-8.31), eightpoint31negative_32, isUint},
{float64(-8.31), eightpoint31negative, isUint}, {float64(-8.31), eightpoint31negative, isUint},
{"-8.31", eightpoint31negative_32, isUint},
{"-8.31", eightpoint31negative, isUint},
{"-8", eightnegative, isUint}, {"-8", eightnegative, isUint},
{jeight, eight, false}, {jeight, eight, false},
{jminuseight, eightnegative, isUint}, {jminuseight, eightnegative, isUint},