Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
34 | public function testE() |
||
35 | { |
||
36 | $this->assertTrue(DecimalConstants::e()->equals( |
||
37 | Decimal::fromString("2.71828182845904523536028747135266") |
||
38 | )); |
||
39 | |||
40 | $this->assertTrue(DecimalConstants::e(32)->equals( |
||
41 | Decimal::fromString("2.71828182845904523536028747135266") |
||
42 | )); |
||
43 | |||
44 | $this->assertTrue(DecimalConstants::e(16)->equals( |
||
45 | Decimal::fromString("2.7182818284590452") |
||
46 | )); |
||
47 | } |
||
48 | |||
58 |