public void FailTest1() { string actual = SayHello.WriteInput("Ivan!"); string expected = "Peter is not Ivan!"; Assert.AreEqual(expected, actual); }
public void SuccessfulTest1() { string actual = SayHello.WriteInput("Ivan"); string expected = "Hello, Ivan!"; Assert.AreEqual(expected, actual); }
public void SuccessfulTest2() { string actual = SayHello.WriteInput("Peter"); string expected = "Hello, Peter!"; Assert.AreEqual(expected, actual); }