You are here

public function NumericComparatorTest::acceptsFailsProvider in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/tests/NumericComparatorTest.php \SebastianBergmann\Comparator\NumericComparatorTest::acceptsFailsProvider()

File

vendor/sebastian/comparator/tests/NumericComparatorTest.php, line 37

Class

NumericComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\NumericComparator

Namespace

SebastianBergmann\Comparator

Code

public function acceptsFailsProvider() {
  return array(
    array(
      '5',
      '10',
    ),
    array(
      8,
      5.0,
    ),
    array(
      5.0,
      8,
    ),
    array(
      10,
      null,
    ),
    array(
      false,
      12,
    ),
  );
}