예제 #1
0
        public void TestGetStringValueNullableNull()
        {
            DirectionType?dirn = null;

            DirectionConverter.GetStringValue(dirn).Should().Be("");
        }
예제 #2
0
        public void TestGetStringValue()
        {
            DirectionType dirn = DirectionType.Rtl;

            DirectionConverter.GetStringValue(dirn).Should().Be("rtl");
        }
예제 #3
0
        public void TestGetStringValueInvalidEnumValue()
        {
            DirectionType dirn = (DirectionType)1;

            DirectionConverter.GetStringValue(dirn).Should().Be("");
        }