Assertions
assert()->arrayEquals(array $expected, array $actual, string $message = null)
asyncAssert()->arrayEquals(array $expected, Promise|Generator|Coroutine $actual, string $message = null)
assert()->floatEquals(float $expected, float $actual, string $message = nulL)
asyncAssert()->floatEquals(float $expected, Promise|Generator|Coroutine $actual, string $message = null)
assert()->intEquals(int $expected, int $actual, string $message = null)
asyncAssert()->intEquals(int $expected, Promise|Generator|Coroutine $actual, string $message = null)
assert()->stringEquals(string $expected, string $actual, string $message = null)
asyncAssert()->stringEquals(string $expected, Promise|Generator|Coroutine $actual, string $message = null)
assert()->isTrue(bool $actual, string $message = null)
asyncAssert()->isTrue(Promise|Generator|Coroutine $actual, string $message = null)
assert()->isFalse(bool $actual, string $message = null)
asyncAssert()->isFalse(Promise|Generator|Coroutine $actual, string $message = null)
assert()->isNull(mixed $actual, string $message = null)
asyncAssert()->isNull(Promise|Generator|Coroutine $actual, string $message = null)
Last updated