public void Drop1() { var list = FList.New(1, 2, 3, 4, 5); var actual = FList.Drop(1, list); var expected = FList.New(2, 3, 4, 5); Assert.AreEqual(expected, actual); }
public void Drop5() { var list = FList.New(1, 2, 3, 4, 5); var actual = FList.Drop(6, list); var expected = FList.Empty <int>(); Assert.AreEqual(expected, actual); }
public void Drop6() { var list = FList.Empty <int>(); var actual = FList.Drop(1, list); var expected = FList.Empty <int>(); Assert.AreEqual(expected, actual); }
public void Drop4String() { var list = "12345"; var actual = FList.Drop(0, list); var expected = "12345"; Assert.AreEqual(expected, actual.ToString()); }