Example #1
0
        public void CheckPing_ListContainsNumbers_True()
        {
            List <string> numbers = PingPongs.GetRange(6);

            for (int i = 1; i <= numbers.Count; i++)
            {
                Assert.AreEqual(i.ToString(), numbers[i - 1]);
            }
        }
        public ActionResult Result()
        {
            List <string> output = PingPongs.GetPingPong(PingPongs.GetRange(Int32.Parse(Request.Form["range"])));

            return(View("Index", output));
        }