Пример #1
0
        public void SecondOrThrow_SourceIsSecond_ExpectSourceValue()
        {
            var sourceValue = MinusFifteenIdRefType;
            TaggedUnion <StructType?, RefType> source = sourceValue;

            var actual = source.SecondOrThrow();

            Assert.AreEqual(sourceValue, actual);
        }