| 
    file-fetcher
    
   | 
 
  
Compares doubles for equality.
Public Member Functions | |
| accepts ($expected, $actual) | |
| assertEquals ($expected, $actual, $delta=0.0, $canonicalize=false, $ignoreCase=false) | |
  Public Member Functions inherited from SebastianBergmann\Comparator\Comparator | |
| __construct () | |
| setFactory (Factory $factory) | |
Public Attributes | |
| const | EPSILON = 0.0000000001 | 
Additional Inherited Members | |
  Protected Attributes inherited from SebastianBergmann\Comparator\Comparator | |
| $factory | |
| $exporter | |
| SebastianBergmann\Comparator\DoubleComparator::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\NumericComparator.
| SebastianBergmann\Comparator\DoubleComparator::assertEquals | ( | $expected, | |
| $actual, | |||
$delta = 0.0,  | 
        |||
$canonicalize = false,  | 
        |||
$ignoreCase = false  | 
        |||
| ) | 
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 | 
| ComparisonFailure | 
Reimplemented from SebastianBergmann\Comparator\NumericComparator.
| const SebastianBergmann\Comparator\DoubleComparator::EPSILON = 0.0000000001 | 
 1.8.17