Engines/FlatRedBallXNA/3rd Party Libraries/StringEnum_src/CodeBureau/Tests/StringEnumTests.cs
/// <summary>
/// Tests GetStringValue (Static implementation)
/// </summary>
Tests GetStringValue (Static implementation)
Tests GetStringValue ( Static implementation )
[Test]
		public void TestStaticGetStringValue() 
		{
			Assert.AreEqual("Third Value", StringEnum.GetStringValue(EnumWithStrings.Fox)) ;		
			Assert.IsNull(StringEnum.GetStringValue(EnumWithoutStrings.Seashells));
			Assert.IsNull(StringEnum.GetStringValue(EnumPartialStrings.Frost));
		}
[ Test ] public void TestStaticGetStringValue ( ) { Assert . AreEqual ( " " , StringEnum . GetStringValue ( EnumWithStrings . Fox ) ) ; Assert . IsNull ( StringEnum . GetStringValue ( EnumWithoutStrings . Seashells ) ) ; Assert . IsNull ( StringEnum . GetStringValue ( EnumPartialStrings . Frost ) ) ; }
Tests GetStringValue (Static implementation)
Tests GetStringValue ( Static implementation )
//Expect to retrieve a string value //No string value to retrieve //String values exist but not for this enum value