public void ParseValue_With_Null()
        {
            var type   = new GeoJSONPositionScalar();
            var result = type.ParseValue(null);

            Assert.Null(Assert.IsType <NullValueNode>(result).Value);
        }
        public void ParseValue_With_Noncoordinate_Throws()
        {
            var type = new GeoJSONPositionScalar();
            var item = "this is not a coordinate";

            Assert.Throws <ArgumentException>(() => type.ParseValue(item));
        }
        public void ParseValue_With_2Valid_Coordinates()
        {
            var type       = new GeoJSONPositionScalar();
            var coordinate = new Coordinate(1.1, 2.2);

            var result = type.ParseValue(coordinate);

            Assert.Equal("1.10", Assert.IsType <ListValueNode>(result).Items[0].Value);
            Assert.Equal("2.20", Assert.IsType <ListValueNode>(result).Items[1].Value);
        }