You are here

public function DoubleComparatorTest::acceptsSucceedsProvider in Zircon Profile 8

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

File

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

Class

DoubleComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DoubleComparator

Namespace

SebastianBergmann\Comparator

Code

public function acceptsSucceedsProvider() {
  return array(
    array(
      0,
      5.0,
    ),
    array(
      5.0,
      0,
    ),
    array(
      '5',
      4.5,
    ),
    array(
      1200.0,
      7.0E-10,
    ),
    array(
      3,
      acos(8),
    ),
    array(
      acos(8),
      3,
    ),
    array(
      acos(8),
      acos(8),
    ),
  );
}