Exemple #1
0
        public void MapReturn_Theory(IMaybe <int> m1, Func <int, string> mapFn, string @default, string expectation)
        {
            // arrange - theory
            // act
            var result = m1.MapReturn(mapFn, @default);

            Assert.Equal(expectation, result);
        }