Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class TestUtilities extends TestCase |
||
15 | { |
||
16 | |||
17 | /** @test */ |
||
18 | public function testContinents() |
||
19 | { |
||
20 | // Arrange |
||
21 | $continents = World::continents(); |
||
|
|||
22 | |||
23 | // Assert |
||
24 | $this->assertEquals(count($continents['continents']), 7); |
||
25 | } |
||
26 | |||
27 | /** @test */ |
||
28 | public function testOceans() |
||
29 | { |
||
30 | // Arrange |
||
31 | $oceans = World::oceans(); |
||
32 | |||
33 | // Assert |
||
34 | $this->assertEquals(count($oceans['oceans']), 5); |
||
35 | } |
||
36 | |||
37 | /** @test */ |
||
38 | public function testUnionTerritories() |
||
45 | } |
||
46 | |||
47 | /** @test */ |
||
48 | public function testWonders() |
||
57 | } |