/**
  * @expectedException \Novuso\System\Exception\UnderflowException
  */
 public function test_that_remove_min_throws_exception_when_empty()
 {
     $tree = new RedBlackSearchTree(new ComparableComparator());
     $tree->removeMin();
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function removeMin()
 {
     $this->tree->removeMin();
 }