public void TestGreetWithMultipleNames() { string[] names = new string[] { "Bob", "David", "Terrance" }; Assert.AreEqual("Hello, Bob, David and Terrance.", GreetingKata.Greet(names)); }
public void TestGreetWithTwoNames() { string[] names = new string[] { "Bob", "David" }; Assert.AreEqual("Hello, Bob and David.", GreetingKata.Greet(names)); }
public void TestGreetWithNoName() { Assert.AreEqual("Hello, my friend.", GreetingKata.Greet("")); }
public void TestGreetWithNameAllUppercase() { Assert.AreEqual("HELLO BOB!", GreetingKata.Greet("BOB")); }
public void TestGreetWithName() { Assert.AreEqual("Hello, Bob.", GreetingKata.Greet("Bob")); }