public void RemoveFirst5() { var list = FList.Empty <int>(); var actual = FList.RemoveFirst(4, list); var expected = FList.Empty <int>(); Assert.AreEqual(expected, actual); }
public void RemoveFirst1() { var list = FList.New(1, 2, 3, 4); var actual = FList.RemoveFirst(3, list); var expected = FList.New(1, 2, 4); Assert.AreEqual(expected, actual); }
public void RemoveFirst6String() { var list = "3234"; var actual = FList.RemoveFirst('3', list); var expected = "234"; Assert.AreEqual(expected, actual.ToString()); }