     
     func testWrite_LineString_2D() {
         
-        XCTAssertEqual("LINESTRING (1.0 1.0, 2.0 2.0, 3.0 3.0)", wktWriter2D.write(LineString<Coordinate2D>(elements: [(1.0, 1.0), (2.0, 2.0), (3.0, 3.0)])))
+        XCTAssertEqual("LINESTRING (1.0 1.0, 2.0 2.0, 3.0 3.0)", wktWriter2D.write(LineString<Coordinate2D>(elements: [(x:1.0, y:1.0), (x:2.0, y:2.0), (x:3.0, y:3.0)])))
     }
     
 //    func testWrite_LineString_2DM() {

    
    func testWrite_Point_2D() {
        
        XCTAssertEqual("POINT (1.0 1.0)", wktWriter2D.write(Point<Coordinate2D>(coordinate: (1.0, 1.0))))
    }
    
    func testWrite_Point_2DM() {
        
        XCTAssertEqual("POINT M (1.0 2.0 3.0)", wktWriter2DM.write(Point<Coordinate2DM>(coordinate: (1.0, 2.0, 3.0))))
    }
    
    func testWrite_Point_3D() {
        
        XCTAssertEqual("POINT Z (1.0 2.0 3.0)", wktWriter3D.write(Point<Coordinate3D>(coordinate: (1.0, 2.0, 3.0))))
    }
    
    func testWrite_Point_3DM() {
        
        XCTAssertEqual("POINT ZM (1.0 2.0 3.0 4.0)", wktWriter3DM.write(Point<Coordinate3DM>(coordinate: (1.0, 2.0, 3.0, 4.0))))
    }
    
    func testWrite_LineString_Empty() {

    
    func testWrite_Polygon_2D() {
        
        let outerRing = LinearRing<Coordinate2D>(elements: [(x:1.0, y:1.0), (x:2.0, y:2.0), (x:3.0, y:3.0), (x:1.0, y:1.0)])
        let innerRing = LinearRing<Coordinate2D>(elements: [(x:4.0, y:4.0), (x:5.0, y:5.0), (x:6.0, y:6.0), (x:4.0, y:4.0)])
        
        XCTAssertEqual("POLYGON ((1.0 1.0, 2.0 2.0, 3.0 3.0, 1.0 1.0), (4.0 4.0, 5.0 5.0, 6.0 6.0, 4.0 4.0))", wktWriter2D.write(Polygon<Coordinate2D>(outerRing: outerRing, innerRings: [innerRing])))
    }
    
    func testWrite_Polygon_2D_ZeroInnerRings() {
        
        let outerRing = LinearRing<Coordinate2D>(elements: [(x:1.0, y:1.0), (x:2.0, y:2.0), (x:3.0, y:3.0), (x:1.0, y:1.0)])
        
        XCTAssertEqual("POLYGON ((1.0 1.0, 2.0 2.0, 3.0 3.0, 1.0 1.0))", wktWriter2D.write(Polygon<Coordinate2D>(outerRing: outerRing, innerRings: [])))
    }
    
    func testWrite_MultiPoint_2D_SinglePoint() {
        
        let multiPoint = MultiPoint<Coordinate2D>(elements: [Point<Coordinate2D>(coordinate: (x:1.0, y:1.0))])
        
        XCTAssertEqual("MULTIPOINT ((1.0 1.0))", wktWriter2D.write(multiPoint))
    }
    
    func testWrite_MultiPoint_2D_TwoPoints() {
        
        let multiPoint = MultiPoint<Coordinate2D>(elements: [Point<Coordinate2D>(coordinate: (x:1.0, y:1.0)), Point<Coordinate2D>(coordinate: (x:2.0, y:2.0))])
        
        XCTAssertEqual("MULTIPOINT ((1.0 1.0), (2.0 2.0))", wktWriter2D.write(multiPoint))
    }
