public function provideVersionsToCompare()
 {
     $retval = [];
     foreach (SemanticVersionDatasets::getAlwaysLessThanDataset() as $data) {
         $retval[] = [ParseSemanticVersion::from($data[0]), ParseSemanticVersion::from($data[1]), CompareTwoNumbers::A_IS_LESS];
     }
     foreach (SemanticVersionDatasets::getAlwaysGreaterThanDataset() as $data) {
         $retval[] = [ParseSemanticVersion::from($data[0]), ParseSemanticVersion::from($data[1]), CompareTwoNumbers::A_IS_GREATER];
     }
     foreach (SemanticVersionDatasets::getAlwaysEqualDataset() as $data) {
         $retval[] = [ParseSemanticVersion::from($data[0]), ParseSemanticVersion::from($data[1]), CompareTwoNumbers::BOTH_ARE_EQUAL];
     }
     return $retval;
 }
 public function provideEqualityDataset()
 {
     $retval = [];
     foreach (SemanticVersionDatasets::getAlwaysEqualDataset() as $dataset) {
         $dataset[] = true;
         $retval[] = $dataset;
     }
     foreach (SemanticVersionDatasets::getNeverEqualDataset() as $dataset) {
         $dataset[] = false;
         $retval[] = $dataset;
     }
     return $retval;
 }
 public function provideVersionsToCompare()
 {
     $retval = [];
     foreach (SemanticVersionDatasets::getAlwaysLessThanDataset() as $data) {
         $data[] = CompareTwoNumbers::A_IS_LESS;
         $retval[] = $data;
     }
     foreach (SemanticVersionDatasets::getAlwaysEqualDataset() as $data) {
         $data[] = CompareTwoNumbers::BOTH_ARE_EQUAL;
         $retval[] = $data;
     }
     foreach (SemanticVersionDatasets::getAlwaysGreaterThanDataset() as $data) {
         $data[] = CompareTwoNumbers::A_IS_GREATER;
         $retval[] = $data;
     }
     return $retval;
 }
 public function provideIsNotBlacklistedDataset()
 {
     $retval = [];
     foreach (SemanticVersionDatasets::getAlwaysEqualDataset() as $dataset) {
         $dataset[] = false;
         $retval[] = $dataset;
     }
     foreach (SemanticVersionDatasets::getAlwaysLessThanDataset() as $dataset) {
         $dataset[] = true;
         $retval[] = $dataset;
     }
     foreach (SemanticVersionDatasets::getAlwaysGreaterThanDataset() as $dataset) {
         $dataset[] = true;
         $retval[] = $dataset;
     }
     return $retval;
 }
 public function provideIsCompatibleDataset()
 {
     $retval = [];
     foreach (SemanticVersionDatasets::getAlwaysApproximatelyEqualDataset() as $dataset) {
         $dataset[] = true;
         $retval[] = $dataset;
     }
     foreach (SemanticVersionDatasets::getAlwaysEqualDataset() as $dataset) {
         $dataset[] = true;
         $retval[] = $dataset;
     }
     foreach (SemanticVersionDatasets::getAlwaysLessThanDataset() as $dataset) {
         $dataset[] = false;
         $retval[] = $dataset;
     }
     foreach (SemanticVersionDatasets::getNeverCompatibleDataset() as $dataset) {
         $dataset[] = false;
         $retval[] = $dataset;
     }
     return $retval;
 }