コード例 #1
0
ファイル: GraphTest.php プロジェクト: AlexKex/php-a-star
 public function testShouldGetEmptyArrayAsDirectSuccessorsIfNodeDoesNotExist()
 {
     $nonExistentNode = new MyNode(0, 0);
     $this->assertCount(0, $this->sut->getDirectSuccessors($nonExistentNode));
 }