public function ArrayComparatorTest::assertEqualsSucceedsProvider in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/tests/ArrayComparatorTest.php \SebastianBergmann\Comparator\ArrayComparatorTest::assertEqualsSucceedsProvider()
File
- vendor/
sebastian/ comparator/ tests/ ArrayComparatorTest.php, line 36
Class
- ArrayComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\ArrayComparator
Namespace
SebastianBergmann\ComparatorCode
public function assertEqualsSucceedsProvider() {
return array(
array(
array(
'a' => 1,
'b' => 2,
),
array(
'b' => 2,
'a' => 1,
),
),
array(
array(
1,
),
array(
'1',
),
),
array(
array(
3,
2,
1,
),
array(
2,
3,
1,
),
0,
true,
),
array(
array(
2.3,
),
array(
2.5,
),
0.5,
),
array(
array(
array(
2.3,
),
),
array(
array(
2.5,
),
),
0.5,
),
array(
array(
new Struct(2.3),
),
array(
new Struct(2.5),
),
0.5,
),
);
}