示例#1
0
        public void TestHasValueWithFlag(EnumWithFlag value, EnumWithFlag check, bool exceptedValue)
        {
            bool hasValue = Matcher <EnumWithFlag> .HasValue(value, check);

            Assert.AreEqual(exceptedValue, hasValue, "Call HasValue on {0} and {1} return {2} while excepted {3}", value, check, hasValue, exceptedValue);
        }
示例#2
0
 public MyAttribute(EnumWithFlag en)
 {
 }