/** * @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()); }
function reschedule($spout = null) { return Bubbler::reschedule($spout); }