From 96cb25db08ae3c9de590172f9eaa363d485c99f0 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Tue, 5 Nov 2024 22:25:47 -0500 Subject: [PATCH] WIP --- test/data/float_data.gleam | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/test/data/float_data.gleam b/test/data/float_data.gleam index b227c72..45d1b66 100644 --- a/test/data/float_data.gleam +++ b/test/data/float_data.gleam @@ -208,6 +208,16 @@ pub const data: List(FloatTestData) = [ output: Error(UnknownCharacter("c", 6)), python_output: Error(Nil), ), + FloatTestData( + input: "e", + output: Error(InvalidExponentPosition("e", 0)), + python_output: Error(Nil), + ), + FloatTestData( + input: "E", + output: Error(InvalidExponentPosition("E", 0)), + python_output: Error(Nil), + ), FloatTestData( input: "e4", output: Error(InvalidExponentPosition("e", 0)), @@ -228,6 +238,16 @@ pub const data: List(FloatTestData) = [ output: Error(InvalidExponentPosition("E", 1)), python_output: Error(Nil), ), + FloatTestData( + input: ".e", + output: Error(InvalidExponentPosition("e", 1)), + python_output: Error(Nil), + ), + FloatTestData( + input: ".E", + output: Error(InvalidExponentPosition("E", 1)), + python_output: Error(Nil), + ), FloatTestData( input: ".e4", output: Error(InvalidExponentPosition("e", 1)),