Exemple #1
0
        public void UnwrapOr_Theory(IMaybe <int> m1, int defaultValue, int expectation)
        {
            // arrange - theory
            // act
            var result = m1.UnwrapOr(defaultValue);

            // assert
            Assert.Equal(expectation, result);
        }