1 | <?php |
||
9 | class DecimalArccosTest extends TestCase |
||
10 | { |
||
11 | public function arccosProvider() { |
||
19 | |||
20 | /** |
||
21 | * @dataProvider arccosProvider |
||
22 | */ |
||
23 | public function testSimple($nr, $answer, $digits) |
||
33 | |||
34 | /** |
||
35 | * @expectedException \DomainException |
||
36 | * @expectedExceptionMessage The arccos of this number is undefined. |
||
37 | */ |
||
38 | public function testArcosGreaterThanOne() |
||
42 | |||
43 | /** |
||
44 | * @expectedException \DomainException |
||
45 | * @expectedExceptionMessage The arccos of this number is undefined. |
||
46 | */ |
||
47 | public function testArccosFewerThanNegativeOne() |
||
51 | } |
||
52 |