| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class NodeTest extends TestCase |
||
| 10 | { |
||
| 11 | public function testConstruction(): void |
||
| 12 | { |
||
| 13 | $point = new Point(1, 2); |
||
| 14 | $node = new Node($point); |
||
| 15 | |||
| 16 | $this->assertEquals($point, $node->getPoint()); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function testPointSetter(): void |
||
| 26 | } |
||
| 27 | |||
| 28 | public function testLeafSetters(): void |
||
| 38 | } |
||
| 39 | } |
||
| 40 |