You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@condition
public boolean isNotFizzNorBuzz(@fact("number") Integer number) {
// can return true, because this is the latest rule to trigger according to assigned priorities
// and in which case, the number is not fizz nor buzz
return number % 5 != 0 || number % 7 != 0;
}
should be
return number % 5 != 0 && number % 7 != 0
The text was updated successfully, but these errors were encountered:
should be
The text was updated successfully, but these errors were encountered: