Esempio n. 1
0
        public void ElseExampleHandlesElseCorrectly()
        {
            var result = UnionMatcherExamples.ElseExample(new Union <int, bool>(1)) +
                         UnionMatcherExamples.ElseExample(new Union <int, bool>(true));

            AreEqual("????", result);
        }
Esempio n. 2
0
        public void ElseExampleStillMatchesCorrectly()
        {
            var result = UnionMatcherExamples.ElseExample(new Union <int, bool>(0)) +
                         UnionMatcherExamples.ElseExample(new Union <int, bool>(false));

            AreEqual("0false", result);
        }