Engines/FlatRedBallXNA/3rd Party Libraries/StringEnum_src/CodeBureau/Tests/StringEnumTests.cs
/// <summary>
/// Test whether a given string is defined within the given enum
/// </summary>
Test whether a given string is defined within the given enum
Test whether a given string is defined within the given enum
[Test]
		public void TestStaticIsStringDefined()
		{
			Assert.IsFalse(StringEnum.IsStringDefined(typeof(EnumWithStrings), "My fair Lady"));
			Assert.IsTrue(StringEnum.IsStringDefined(typeof(EnumPartialStrings), "jack BE NIMble", true));
		}
[ Test ] public void TestStaticIsStringDefined ( ) { Assert . IsFalse ( StringEnum . IsStringDefined ( typeof ( EnumWithStrings ) , " " ) ) ; Assert . IsTrue ( StringEnum . IsStringDefined ( typeof ( EnumPartialStrings ) , " " , true ) ) ; }
Test whether a given string is defined within the given enum
Test whether a given string is defined within the given enum