예제 #1
0
 /**
  * RTFN
  */
 public function testSortSimple()
 {
     $this->fillCollectionShuffle();
     $function = $this->getFunctionForSortSimpleCompare();
     $this->testable->sort($function);
     $indexes = range(1, 10);
     $this->assertEquals($indexes, $this->testable->getIds());
 }