Ejemplo n.º 1
0
        public void TestCheck()
        {
            ExtendedEnum <NotAFlag> .Check();

            ExtendedEnum <NotAFlag> .Check(false);

            ExtendedEnum <Colours> .Check();

            ExtendedEnum <Colours> .Check(TriState.True);
        }
Ejemplo n.º 2
0
 public void TestCheckFailFlag()
 {
     ExtendedEnum <NotAFlag> .Check(true);
 }
Ejemplo n.º 3
0
 public void TestCheckFail()
 {
     ExtendedEnum <int> .Check();
 }