import fizzbuzz
import unittest

class testfb(unittest.TestCase):

    def test_printnumbers(self):
        for x in range(1, 101):
            if x % 3 != 0 and x % 5 != 0:
                self.assertEqual(fizzbuzz.fb(x), x)

    def test_printfizz(self):
        for x in range(1, 101):
            if x % 3 == 0 and x % 5 != 0:
                self.assertEqual(fizzbuzz.fb(x), "Fizz")

    def test_printbuzz(self):
        for x in range(1, 101):
            if x % 3 != 0 and x % 5 == 0:
                self.assertEqual(fizzbuzz.fb(x), "Buzz")
    
    def test_printfizzbuzz(self):
        for x in range(1, 101):
            if x % 3 == 0 and x % 5 == 0:
                self.assertEqual(fizzbuzz.fb(x), "FizzBuzz")

if __name__ == "__main__":
    unittest.main()
