public void TestContains_ValueExists_ReturnsTrue() { StringAdapter list = new StringAdapter("Hello"); bool result = list.Contains('e'); Assert.IsTrue(result, "The character should have been found."); }
public void TestContains_ValueDoesNotExists_ReturnsFalse() { StringAdapter list = new StringAdapter("Hello"); bool result = list.Contains('r'); Assert.IsFalse(result, "The character should not have been found."); }