fizzBuzz(1) - failing
fizzBuzz(1) - success
fizzBuzz(2) - failure
fizzBuzz(2) - success
fizzBuzz(3) - failure
fizzBuzz(2) - success
fizzBuzz(5) - failure
fizzBuzz(5) - success
fizzBuzz(15) - failure
fizzBuzz(15) - success
Refactoring. Extracts `nIsDivisibleBy(...)` function to improve readability over use of `%` operator. This should probably have been done earlier.