Exemple #1
0
        public void ConvertToPingPong_NumberDivisibleByThree()
        {
            PingPongGenerator testPingPong = new PingPongGenerator();

            Assert.AreEqual("Ping", testPingPong.ConvertToPingPong(3));
        }
Exemple #2
0
        public void ConvertToPingPong_NumberNotDivisiveByThreeOrFive()
        {
            PingPongGenerator testPingPong = new PingPongGenerator();

            Assert.AreEqual("22", testPingPong.ConvertToPingPong(22));
        }