Пример #1
0
        public void RemoveAll6String()
        {
            var list     = "3234";
            var actual   = FList.RemoveAll('3', list);
            var expected = "24";

            Assert.AreEqual(expected, actual.ToString());
        }
Пример #2
0
        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);
        }
Пример #3
0
        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);
        }