Exemple #1
0
        public void AndThen_Theory(SimpleResult result, IResult <double, string> andResult, object expectation)
        {
            // arrange
            Func <int, IResult <double, string> > andFn = (i) => andResult;

            // act
            var r = result.AndThen(andFn);

            Assert.Equal(expectation, r);
        }