public void Init2() { var list = FList.New(1); var actual = FList.Init(list); var expected = FList.Empty <int>(); Assert.AreEqual(expected, actual); }
public void Init1() { var list = FList.New(1, 2, 3, 4, 5); var actual = FList.Init(list); var expected = FList.New(1, 2, 3, 4); Assert.AreEqual(expected, actual); }
public void Init1String() { var list = "12345"; var actual = FList.Init(list); var expected = "1234"; Assert.AreEqual(expected, actual.ToString()); }