Ejemplo n.º 1
0
 /// <summary>
 /// Test whether a given string is defined within the given enum
 /// </summary>
 public void TestStaticIsStringDefined( )
 {
     Assert.IsFalse(StringEnum.IsStringDefined(typeof(REGISTERS_WithStrings), "DI") == false);
     Assert.IsTrue(StringEnum.IsStringDefined(typeof(REGISTERS_WithPartialStrings), "RnD sTr", true) == true);
 }