Infinidat Interview Question

1. Write a function simulating the game FizzBuzz (7 boom). 2. How would you test this function?