예제 #1
0
        public void ToPingPong_ReturnRangeFromInput_True()
        {
            PingPongCount testPingPong = new PingPongCount();

            Assert.AreEqual(true, testPingPong.ToPingPong("6"));
        }
예제 #2
0
        public void ToPingPong_ReplaceNumbersDivisibleByThreeAndFive_True()
        {
            PingPongCount testPingPong = new PingPongCount();

            Assert.AreEqual("Ping-Pong", testPingPong.ToPingPong("15"));
        }
예제 #3
0
        public void ToPingPong_InputNan_True()
        {
            PingPongCount testPingPong = new PingPongCount();

            Assert.AreEqual(false, testPingPong.ToPingPong("K"));
        }