public void RemoveAll6String() { var list = "3234"; var actual = FList.RemoveAll('3', list); var expected = "24"; Assert.AreEqual(expected, actual.ToString()); }
public void RemoveAll1() { var list = FList.New(1, 2, 3, 4); var actual = FList.RemoveAll(3, list); var expected = FList.New(1, 2, 4); Assert.AreEqual(expected, actual); }
public void RemoveAll7() { var list = FList.New(3, 3, 3); var actual = FList.RemoveAll(3, list); var expected = FList.Empty <int>(); Assert.AreEqual(expected, actual); }