public function ArrayComparatorTest::testAssertEqualsSucceeds in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/tests/ArrayComparatorTest.php \SebastianBergmann\Comparator\ArrayComparatorTest::testAssertEqualsSucceeds()
@covers ::assertEquals @dataProvider assertEqualsSucceedsProvider
File
- vendor/
sebastian/ comparator/ tests/ ArrayComparatorTest.php, line 137
Class
- ArrayComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\ArrayComparator
Namespace
SebastianBergmann\ComparatorCode
public function testAssertEqualsSucceeds($expected, $actual, $delta = 0.0, $canonicalize = false) {
$exception = null;
try {
$this->comparator
->assertEquals($expected, $actual, $delta, $canonicalize);
} catch (ComparisonFailure $exception) {
}
$this
->assertNull($exception, 'Unexpected ComparisonFailure');
}