using Microsoft.VisualStudio.TestTools.UnitTesting;
public static void Main()
Console.WriteLine("Starting unit tests...");
WhenReversingASentence.ExampleOfAPassingTest();
WhenReversingASentence.ReversesAShortSentence();
Console.WriteLine("...finished");
public static class WhenReversingASentence
public static void ExampleOfAPassingTest() {
Assert.AreEqual(s, "hello");
public static void ReversesAShortSentence() {
string s = "the quick brown fox";
Assert.AreEqual(Sentence.Reverse(s), "fox brown quick the");
public static class Sentence
public static string Reverse(string sentence)
throw new NotImplementedException();