Ejemplo n.º 1
0
        public void TestGetStringValueNullableNull()
        {
            DirectionType?dirn = null;

            DirectionConverter.GetStringValue(dirn).Should().Be("");
        }
Ejemplo n.º 2
0
        public void TestGetStringValue()
        {
            DirectionType dirn = DirectionType.Rtl;

            DirectionConverter.GetStringValue(dirn).Should().Be("rtl");
        }
Ejemplo n.º 3
0
        public void TestGetStringValueInvalidEnumValue()
        {
            DirectionType dirn = (DirectionType)1;

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