|
Lggr
|


Public Member Functions | |
| accepts ($expected, $actual) | |
| assertEquals ($expected, $actual, $delta=0.0, $canonicalize=false, $ignoreCase=false, array &$processed=[]) | |
Public Member Functions inherited from SebastianBergmann\Comparator\Comparator | |
| setFactory (Factory $factory) | |
| assertEquals ($expected, $actual, $delta=0.0, $canonicalize=false, $ignoreCase=false) | |
Additional Inherited Members | |
Protected Member Functions inherited from SebastianBergmann\Comparator\ObjectComparator | |
| toArray ($object) | |
Protected Member Functions inherited from SebastianBergmann\Comparator\ArrayComparator | |
| indent ($lines) | |
Protected Attributes inherited from SebastianBergmann\Comparator\Comparator | |
| $factory | |
| $exporter | |
Compares DOMNode instances for equality.
| SebastianBergmann\Comparator\DOMNodeComparator::accepts | ( | $expected, | |
| $actual | |||
| ) |
Returns whether the comparator can compare two values.
| mixed | $expected | The first value to compare |
| mixed | $actual | The second value to compare |
Reimplemented from SebastianBergmann\Comparator\ObjectComparator.
| SebastianBergmann\Comparator\DOMNodeComparator::assertEquals | ( | $expected, | |
| $actual, | |||
$delta = 0.0, |
|||
$canonicalize = false, |
|||
$ignoreCase = false, |
|||
| array & | $processed = [] |
||
| ) |
Asserts that two values are equal.
| mixed | $expected | First value to compare |
| mixed | $actual | Second value to compare |
| float | $delta | Allowed numerical distance between two values to consider them equal |
| bool | $canonicalize | Arrays are sorted before comparison when set to true |
| bool | $ignoreCase | Case is ignored when set to true |
| array | $processed | List of already processed elements (used to prevent infinite recursion) |
| ComparisonFailure |
Reimplemented from SebastianBergmann\Comparator\ObjectComparator.
1.8.17