Beispiel #1
0
        public void Elem1()
        {
            var list     = FList.New(1, 2, 3, 4, 5);
            var actual   = FList.Elem(3, list);
            var expected = true;

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public void Elem3String()
        {
            var list     = "12345";
            var actual   = FList.Elem('6', list);
            var expected = false;

            Assert.AreEqual(expected, actual);
        }
Beispiel #3
0
        public void Elem1String()
        {
            var list     = "12345";
            var actual   = FList.Elem('3', list);
            var expected = true;

            Assert.AreEqual(expected, actual);
        }
Beispiel #4
0
        public void Elem6()
        {
            var list     = FList.Empty <int>();
            var actual   = FList.Elem(6, list);
            var expected = false;

            Assert.AreEqual(expected, actual);
        }
Beispiel #5
0
        public void Elem5()
        {
            var list     = FList.New(5);
            var actual   = FList.Elem(6, list);
            var expected = false;

            Assert.AreEqual(expected, actual);
        }
Beispiel #6
0
        public void Elem4()
        {
            var list     = FList.New(5);
            var actual   = FList.Elem(5, list);
            var expected = true;

            Assert.AreEqual(expected, actual);
        }