Exemplo n.º 1
0
 /**
  * @depends testBubblerAlreadySorted
  * Test to see if the sort fucntion works.
  */
 public function testBubblerSorting(Bubbler $aBubbler)
 {
     $sortedArray = $aBubbler->getArray();
     sort($sortedArray);
     $aBubbler->bubbleSort();
     $this->assertEquals($sortedArray, $aBubbler->getArray());
 }
Exemplo n.º 2
0
function reschedule($spout = null)
{
    return Bubbler::reschedule($spout);
}