Created
April 12, 2024 16:40
-
-
Save jrichardsz/0059db6c704be68962cfd4bbb5480d9f to your computer and use it in GitHub Desktop.
c# unit tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
using System; | |
[TestFixture] | |
public class Tests | |
{ | |
[Test] | |
public static void Test1() | |
{ | |
Assert.AreEqual("emocleW", Kata.SpinWords("Welcome")); | |
} | |
[Test] | |
public static void Test2() | |
{ | |
Assert.AreEqual("Hey wollef sroirraw", Kata.SpinWords("Hey fellow warriors")); | |
} | |
[Test] | |
public static void Test3() | |
{ | |
Assert.AreEqual("This is a test", Kata.SpinWords("This is a test")); | |
} | |
[Test] | |
public static void Test4() | |
{ | |
Assert.AreEqual("This is rehtona test", Kata.SpinWords("This is another test")); | |
} | |
[Test] | |
public static void Test5() | |
{ | |
Assert.AreEqual("You are tsomla to the last test", Kata.SpinWords("You are almost to the last test")); | |
} | |
[Test] | |
public static void Test6() | |
{ | |
Assert.AreEqual("Just gniddik ereht is llits one more", Kata.SpinWords("Just kidding there is still one more")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment