beZero method
Asserts that the numeric value is 0.
Implementation
NumericAssertions beZero() {
if (isReversed) {
Execute.assertion
.forCondition(subject! == 0)
.failWith('$subjectLabel\n $subject\nshould not be zero.');
} else {
Execute.assertion
.forCondition(subject! != 0)
.failWith('$subjectLabel\n $subject\nshould be zero.');
}
return NumericAssertions(subject);
}