1 | <?php |
||
8 | class DecimalLog10Test extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @expectedException \DomainException |
||
12 | * @expectedExceptionMessage Decimal can't represent infinite numbers. |
||
13 | */ |
||
14 | public function testZeroLog10() |
||
19 | |||
20 | |||
21 | /** |
||
22 | * @expectedException \DomainException |
||
23 | * @expectedExceptionMessage Decimal can't handle logarithms of negative numbers (it's only for real numbers). |
||
24 | */ |
||
25 | public function testNegativeLog10() |
||
29 | |||
30 | public function testBigNumbersLog10() |
||
37 | |||
38 | public function testLittleNumbersLog10() |
||
45 | |||
46 | public function testMediumNumbersLog10() |
||
51 | } |
||
52 |