package com.github.mateuszwenus.fizz_buzz_kata;

public class FizzBuzz {

	public String print(int number) {
		boolean isFizz = number % 3 == 0;
		boolean isBuzz = number % 5 == 0;
		if (isFizz && isBuzz) {
			return "FizzBuzz";
		} else if (isFizz) {
			return "Fizz";
		} else if (isBuzz) {
			return "Buzz";
		}
		return String.valueOf(number);
	}
}

@@ -102,16 +102,107 @@
 mber) %7B%0A
+%09%09if (number %3C= 0) %7B%0A%09%09%09throw new IllegalArgumentException(%22number must be positive%22);%0A%09%09%7D%0A
 %09%09boolea

handle nonpositive numbers