Changeset 16311 in josm for trunk/test/unit/org/openstreetmap
- Timestamp:
- 2020-04-15T22:40:32+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/GeoJSONReaderTest.java
r15865 r16311 46 46 .doParseDataSet(in, null) 47 47 .getPrimitives(it -> true)); 48 assertEquals(2 1, primitives.size());48 assertEquals(20, primitives.size()); 49 49 50 50 final Node node1 = new Node(new LatLon(0.5, 102.0)); … … 56 56 57 57 final Way way1 = new Way(); 58 way1.addNode(new Node(new LatLon(0 , 102)));58 way1.addNode(new Node(new LatLon(0.5, 102.0))); 59 59 way1.addNode(new Node(new LatLon(1, 103))); 60 60 way1.addNode(new Node(new LatLon(0, 104))); … … 66 66 assertEquals("valueB", foundWay1.get().get("propB")); 67 67 assertEquals("0.0", foundWay1.get().get("propB2")); 68 assertEquals(foundNode1.get(), ((Way) foundWay1.get()).firstNode()); 69 assertEquals("valueA", ((Way) foundWay1.get()).firstNode().get("propA")); 68 70 69 71 final Way way2 = new Way();
Note:
See TracChangeset
for help on using the changeset viewer.