public void TestGetStringValueCenter() { AlignType dirn = AlignType.Center; AlignConverter.GetStringValue(dirn).Should().Be("center"); }
public void TestGetStringValueNullableNull() { AlignType?dirn = null; AlignConverter.GetStringValue(dirn).Should().Be(""); }
public void TestGetStringValueRight() { AlignType dirn = AlignType.Right; AlignConverter.GetStringValue(dirn).Should().Be("right"); }
public void TestGetStringValueInvalidEnumValue() { AlignType dirn = (AlignType)99; AlignConverter.GetStringValue(dirn).Should().Be(""); }
public void TestGetStringValueJustify() { AlignType dirn = AlignType.Justify; AlignConverter.GetStringValue(dirn).Should().Be("justify"); }