Exemplo n.º 1
0
        public void ToPingPong_ReturnRangeFromInput_True()
        {
            PingPongCount testPingPong = new PingPongCount();

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

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

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