예제 #1
0
        public void IfNotN_1With0()
        {
            var actual = IfNotN(1)(0);

            Assert.True(actual.IsSome);
        }
예제 #2
0
        public void IfNotN_1WithNull()
        {
            var actual = IfNotN(1)(null);

            Assert.True(actual.IsNone);
        }
예제 #3
0
        public void IfNotN_1With1()
        {
            var actual = IfNotN(1)(1);

            Assert.True(actual.IsNone);
        }