Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
28 | public function testLeafSetters(): void |
||
29 | { |
||
30 | $node = new Node(new Point(1, 2)); |
||
31 | $nodeLeft = new Node(new Point(0, 0)); |
||
32 | $nodeRight = new Node(new Point(3, 3)); |
||
33 | $node->setRight($nodeRight); |
||
34 | $node->setLeft($nodeLeft); |
||
35 | |||
36 | $this->assertEquals($nodeLeft, $node->getLeft()); |
||
37 | $this->assertEquals($nodeRight, $node->getRight()); |
||
38 | } |
||
40 |