Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
25 | public function testNegativeNumbers() |
||
26 | { |
||
27 | $this->assertFalse(Decimal::fromInteger(-1)->isZero()); |
||
28 | $this->assertFalse(Decimal::fromFloat(-1.0)->isZero()); |
||
29 | $this->assertFalse(Decimal::fromFloat(-0.1)->isZero()); |
||
30 | $this->assertFalse(Decimal::fromString('-1')->isZero()); |
||
31 | } |
||
32 | } |
||
33 |