Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class SpaceTest extends TestCase |
||
10 | { |
||
11 | /** |
||
12 | * Test that a single space can be created |
||
13 | */ |
||
14 | public function testCanCreateSpace() |
||
15 | { |
||
16 | $spaceTest = new Space(); |
||
17 | $sp = $spaceTest->spaces; |
||
18 | $this->assertEquals(' ', $sp); |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Test that multiple spaces can be created |
||
23 | */ |
||
24 | public function testCanCreateMultipleSpaces() |
||
25 | { |
||
26 | $spaceTest = new Space(5); |
||
27 | $sp = $spaceTest->spaces; |
||
28 | $this->assertEquals(' ', $sp); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * Test that an escaped space can be created |
||
33 | */ |
||
34 | public function testCanCreateEscapedSpace() |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * Test that multiple escaped spaces can be created |
||
43 | */ |
||
44 | public function testCanCreateMultipleEscapedSpaces() |
||
52 | } |