示例#1
0
        public void Should_Compose_Functions()
        {
            Failable <int> input = 10;

            var function =
                input
                .Compose(
                    Where <int>(x => x % 2 == 0),
                    Where <int>(x => x >= 10)
                    );

            Assert.True(input.Succeeded);
        }