예제 #1
0
        public void Absent_ExpectIsFailureReturnsTrue()
        {
            var actual = Result.Absent <SomeRecord>();

            Assert.True(actual.IsFailure);
        }
예제 #2
0
        public void Absent_ExpectIsSuccessReturnsFalse()
        {
            var actual = Result.Absent <StructType>();

            Assert.False(actual.IsSuccess);
        }