src/Codeception/Module/Asserts.php
public function assertEquals($expected, $actual, $message = '', $delta = 0.0)
    {
        parent::assertEquals($expected, $actual, $message, $delta);
    }
public function assertEquals($expected, $actual, $message = '', $delta = 0.0)
    {
        parent::assertEquals($expected, $actual, $message, $delta);
    }
public function assertEquals ( $ expected , $ actual , $ message = '' , $ delta = 0.0 ) { parent :: assertEquals ( $ expected , $ actual , $ message , $ delta ) ; }
Checks that two variables are equal. If you're comparing floating-point values,
you can specify the optional "delta" parameter which dictates how great of a precision
error are you willing to tolerate in order to consider the two values equal.

Regular example:
```php
<?php
$I->assertEquals(5, $element->getChildrenCount());
```

Floating-point example:
```php
<?php
$I->assertEquals(0.3, $calculator->add(0.1, 0.2), 'Calculator should add the two numbers correctly.', 0.01);
```

@param        $expected
@param        $actual
@param string $message
@param float  $delta
Checks that two variables are equal . If you re comparing floating - point values you can specify the optional delta parameter which dictates how great of a precision error are you willing to tolerate in order to consider the two values equal .