bePositive method
Asserts that the numeric value is greater or equal than zero.
Implementation
NumericAssertions bePositive() {
if (isReversed) {
Execute.assertion.forCondition(subject! >= 0).failWith(
'$subjectLabel\n $subject\nshould not be positive\n but does.',
);
} else {
Execute.assertion.forCondition(subject! < 0).failWith(
'$subjectLabel\n $subject\nshould be positive\n but does not.',
);
}
return NumericAssertions(subject);
}