示例#1
0
        public void FizzBuzzTest()
        {
            var fizzBuzzCalc = new FizzBuzzCalc();

            string output = FizzBuzzCalc.Get(15);

            Assert.That(output, Is.EqualTo("FizzBuzz"));
        }
示例#2
0
        public void FizzTest()
        {
            FizzBuzzCalc fizzBuzzCalc;

            string output = FizzBuzzCalc.Get(3);

            Assert.That(output, Is.EqualTo("Fizz"));
        }
示例#3
0
        public void StringTest()
        {
            string result = FizzBuzzCalc.Get(1);

            Assert.That(result, Is.EqualTo("1"));
        }