예제 #1
0
        public void Any5()
        {
            var list = FList.Empty <int>();
            var any  = FList.Any(i => i > 3, list);

            Assert.IsFalse(any);
        }
예제 #2
0
        public void Any1()
        {
            var list = FList.New(1, 2, 3);
            var any  = FList.Any(i => i > 1, list);

            Assert.IsTrue(any);
        }
예제 #3
0
        public void Any4()
        {
            var list = FList.New(3);
            var any  = FList.Any(i => i > 3, list);

            Assert.IsFalse(any);
        }
예제 #4
0
        public void Any3()
        {
            var list = FList.New(3);
            var any  = FList.Any(i => i > 2, list);

            Assert.IsTrue(any);
        }
예제 #5
0
        public void Any5String()
        {
            var list = "";
            var any  = FList.Any(i => i > '3', list);

            Assert.IsFalse(any);
        }
예제 #6
0
        public void Any3String()
        {
            var list = "3";
            var any  = FList.Any(i => i > '2', list);

            Assert.IsTrue(any);
        }
예제 #7
0
        public void Any1String()
        {
            var list = "123";
            var any  = FList.Any(i => i > '1', list);

            Assert.IsTrue(any);
        }