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

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

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

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