You are here

public function DoubleComparatorTest::acceptsFailsProvider in Zircon Profile 8

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

File

vendor/sebastian/comparator/tests/DoubleComparatorTest.php, line 39

Class

DoubleComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DoubleComparator

Namespace

SebastianBergmann\Comparator

Code

public function acceptsFailsProvider() {
  return array(
    array(
      5,
      5,
    ),
    array(
      '4.5',
      5,
    ),
    array(
      0x539,
      02471,
    ),
    array(
      5.0,
      false,
    ),
    array(
      null,
      5.0,
    ),
  );
}