Changeset 15877 in josm for trunk/test/unit
- Timestamp:
- 2020-02-17T16:53:03+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/osm/BBoxTest.java
r15487 r15877 127 127 128 128 /** 129 * Unit test of {@link BBox#addLatLon} method. 130 */ 131 @Test 132 public void testAddLatLonBuffer() { 133 BBox b = new BBox(); 134 b.addLatLon(LatLon.NORTH_POLE, 0.5); 135 assertEquals(LatLon.NORTH_POLE, b.getCenter()); 136 assertEquals(new LatLon(90.5, -0.5), b.getTopLeft()); 137 assertEquals(new LatLon(89.5, +0.5), b.getBottomRight()); 138 } 139 140 /** 129 141 * Unit test of {@link BBox#add(double, double)} method. 130 142 */
Note:
See TracChangeset
for help on using the changeset viewer.