| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 11 | public function testAdditiveInverse() |
||
| 12 | { |
||
| 13 | $this->assertTrue( |
||
| 14 | InfiniteDecimal::getNegativeInfinite()->additiveInverse()->equals(InfiniteDecimal::getPositiveInfinite()) |
||
| 15 | ); |
||
| 16 | $this->assertTrue( |
||
| 17 | InfiniteDecimal::getPositiveInfinite()->additiveInverse()->equals(InfiniteDecimal::getNegativeInfinite()) |
||
| 18 | ); |
||
| 19 | } |
||
| 20 | } |
||
| 21 |