Exemplo n.º 1
0
        public void PingPongTest_IsNotDivisibleByEither_4()
        {
            PingPong testPingPong = new PingPong();

            Assert.AreEqual("4", testPingPong.PingPongTest(4));
        }
Exemplo n.º 2
0
        public void PingPongTest_IsDivisibleByFive_Pong()
        {
            PingPong testPingPong = new PingPong();

            Assert.AreEqual("pong", testPingPong.PingPongTest(10));
        }
Exemplo n.º 3
0
        public void PingPongTest_IsDivisibleByBoth_PingPong()
        {
            PingPong testPingPong = new PingPong();

            Assert.AreEqual("ping-pong", testPingPong.PingPongTest(15));
        }
Exemplo n.º 4
0
        public void PingPongTest_IsDivisibleByThree_Ping()
        {
            PingPong testPingPong = new PingPong();

            Assert.AreEqual("ping", testPingPong.PingPongTest(6));
        }