예제 #1
0
 public function testAddAnotherData()
 {
     $this->testAddData();
     $anotherData = $this->generateData();
     $this->doubleLinkedList->push($anotherData);
     $lastAnotherData = $this->doubleLinkedList->pop();
     $this->assertTrue($anotherData == $lastAnotherData);
 }