public void IsAffirmative_TrueValue_ReturnsTrue(string input) { // arrange bool expected = true; // act ResponseParser sut = new ResponseParser(); bool actual = sut.IsAffirmative(input); // assert Assert.AreEqual(expected, actual); }
public void IsAffirmative_NotAffirmative_ReturnsFalse() { // arrange string input = "Hello"; bool expected = false; // act ResponseParser sut = new ResponseParser(); bool actual = sut.IsAffirmative(input); // assert Assert.AreEqual(expected, actual); }