diff --git a/spec/NumberSpec.php b/spec/NumberSpec.php index d2a90263..09b83857 100644 --- a/spec/NumberSpec.php +++ b/spec/NumberSpec.php @@ -27,12 +27,4 @@ public function it_throws_an_exception_when_number_is_invalid(): void $this->shouldThrow(InvalidArgumentException::class)->duringInstantiation(); } - - public function it_creates_a_number_from_float(): void - { - $number = $this->fromFloat(1.1); - - $number->shouldHaveType(Number::class); - $number->__toString()->shouldReturn('1.1'); - } }