예제 #1
0
        public void UnwrapOr_Theory(SimpleResult result, int defaultValue, int expectation)
        {
            // arrange
            // act
            var val = result.UnwrapOr(defaultValue);

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