Esempio n. 1
0
        public void SelectMany_Theory(SimpleResult result, IResult <double, string> andResult, object expectation)
        {
            // arrange
            Func <int, IResult <double, string> > andFn = (i) => andResult;

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

            Assert.Equal(expectation, r);
        }