예제 #1
0
        public void A()
        {
            var stopWatch = Stopwatch.StartNew();

            Assert.AreEqual("emocleW", SpinWords.Solve("Welcome"));
            stopWatch.Stop();
            Console.WriteLine(stopWatch.ElapsedTicks.ToString());
        }
예제 #2
0
 public void Test_Miha()
 {
     Assert.AreEqual("emocleW", SpinWords.Solve("Welcome"));
     Assert.AreEqual("Hey wollef sroirraw", SpinWords.Solve("Hey fellow warriors"));
     Assert.AreEqual("This is a test", SpinWords.Solve("This is a test"));
     Assert.AreEqual("This is rehtona test", SpinWords.Solve("This is another test"));
     Assert.AreEqual("You are tsomla to the last test", SpinWords.Solve("You are almost to the last test"));
     Assert.AreEqual("Just gniddik ereht is llits one more", SpinWords.Solve("Just kidding there is still one more"));
 }