Assertions
1
assert()->arrayEquals(array $expected, array $actual, string $message = null)
2
asyncAssert()->arrayEquals(array $expected, Promise|Generator|Coroutine $actual, string $message = null)
Copied!
1
assert()->floatEquals(float $expected, float $actual, string $message = nulL)
2
asyncAssert()->floatEquals(float $expected, Promise|Generator|Coroutine $actual, string $message = null)
Copied!
1
assert()->intEquals(int $expected, int $actual, string $message = null)
2
asyncAssert()->intEquals(int $expected, Promise|Generator|Coroutine $actual, string $message = null)
Copied!
1
assert()->stringEquals(string $expected, string $actual, string $message = null)
2
asyncAssert()->stringEquals(string $expected, Promise|Generator|Coroutine $actual, string $message = null)
Copied!
1
assert()->isTrue(bool $actual, string $message = null)
2
asyncAssert()->isTrue(Promise|Generator|Coroutine $actual, string $message = null)
Copied!
1
assert()->isFalse(bool $actual, string $message = null)
2
asyncAssert()->isFalse(Promise|Generator|Coroutine $actual, string $message = null)
Copied!
1
assert()->isNull(mixed $actual, string $message = null)
2
asyncAssert()->isNull(Promise|Generator|Coroutine $actual, string $message = null)
Copied!
Last modified 5mo ago
Copy link