Asserts that a value is a positive number
.
method
test.Matchers.toBePositive
expect(1).toBePositive();
expect(-3.14).not.toBePositive();
expect(NaN).not.toBePositive();
method
Asserts that a value is a positive number
.
expect(1).toBePositive();
expect(-3.14).not.toBePositive();
expect(NaN).not.toBePositive();