toBeNan(); expect(log(0))->not->toBeNan(); }); test('failures', function () { expect(1)->toBeNan(); })->throws(ExpectationFailedException::class); test('failures with custom message', function () { expect(1)->toBeNan('oh no!'); })->throws(ExpectationFailedException::class, 'oh no!'); test('not failures', function () { expect(acos(1.5))->not->toBeNan(); })->throws(ExpectationFailedException::class);