Exemple #1
0
        public static void Should_ReturnDefaultMapStyle_IfStringDoesNotMatch()
        {
            var mapStyleType = "obviouslyNotAValidOne";
            var mapStyle     = MapStyle.FromString(mapStyleType);

            Assert.Equal(default, mapStyle);
Exemple #2
0
        public static void Should_ReturnMapStyleFromString(string mapStyleType)
        {
            var mapStyle = MapStyle.FromString(mapStyleType);

            Assert.Equal(mapStyleType, mapStyle.ToString());
        }