예제 #1
0
        public void PassingFalseToYesNoOrIntMatcherExampleReturnsNo()
        {
            var result = UnionMatcherExamples.YesNoOrIntMatcherExample(new Union <int, bool>(false));

            AreEqual("No", result);
        }
예제 #2
0
        public void PassingTrueToYesNoOrIntMatcherExampleReturnsYes()
        {
            var result = UnionMatcherExamples.YesNoOrIntMatcherExample(new Union <int, bool>(true));

            AreEqual("Yes", result);
        }