You are here

public function DoubleComparatorTest::assertEqualsFailsProvider in Zircon Profile 8.0

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

File

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

Class

DoubleComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DoubleComparator

Namespace

SebastianBergmann\Comparator

Code

public function assertEqualsFailsProvider() {
  return array(
    array(
      2.3,
      4.2,
    ),
    array(
      '2.3',
      4.2,
    ),
    array(
      5.0,
      '4',
    ),
    array(
      5.0,
      6,
    ),
    array(
      1200.0,
      1201,
    ),
    array(
      2.3,
      2.5,
      0.2,
    ),
    array(
      3,
      3.05,
      0.04,
    ),
    array(
      3,
      acos(8),
    ),
    array(
      acos(8),
      3,
    ),
    array(
      acos(8),
      acos(8),
    ),
  );
}