public function DoubleComparatorTest::testAssertEqualsSucceeds in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/tests/DoubleComparatorTest.php \SebastianBergmann\Comparator\DoubleComparatorTest::testAssertEqualsSucceeds()
@covers ::assertEquals @dataProvider assertEqualsSucceedsProvider
File
- vendor/
sebastian/ comparator/ tests/ DoubleComparatorTest.php, line 109
Class
- DoubleComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\DoubleComparator
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');
}