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