Beispiel #1
0
 function testClear()
 {
     $stack = new LinkedStack();
     $stack->push(1);
     $stack->clear();
     $this->assertCount(0, $stack);
 }