public function clear() { $this->_c = 0; $this->_d = array(); }
public function testClear() { $queue = new TQueue(array(1, 2, 3)); $queue->clear(); self::assertEquals(array(), $queue->toArray()); }