示例#1
0
        public void AndThen_Theory(IMaybe <int> maybe, Func <int, IMaybe <double> > thenFn, IMaybe <double> expected)
        {
            // arrange
            // act
            var maybeResult = maybe.AndThen(thenFn);

            // assert
            Assert.Equal(expected, maybeResult);
        }