Beispiel #1
0
        public static void Should_ReturnDefaultSymbolLayerPlacement_IfStringDoesNotMatch()
        {
            var symbolLayerPlacementType = "obviouslyNotAValidOne";
            var symbolLayerPlacement     = SymbolLayerPlacement.FromString(symbolLayerPlacementType);

            Assert.Equal(default, symbolLayerPlacement);
Beispiel #2
0
        public static void Should_ReturnSymbolLayerPlacementFromString(string symbolLayerPlacementType)
        {
            var symbolLayerPlacement = SymbolLayerPlacement.FromString(symbolLayerPlacementType);

            Assert.Equal(symbolLayerPlacementType, symbolLayerPlacement.ToString());
        }