<?php asin(float $num): float
<?php }); test('failures', function () { expect(asin(2))->toBeInfinite(); })->throws(ExpectationFailedException::class); test('failures with custom message', function () {
<?php })->throws(ExpectationFailedException::class); test('failures with custom message', function () { expect(asin(2))->toBeInfinite('oh no!'); })->throws(ExpectationFailedException::class, 'oh no!'); test('not failures', function () {
<?php use PHPUnit\Framework\ExpectationFailedException; test('pass', function () { expect(asin(2))->toBeNan(); expect(log(0))->not->toBeNan(); });