-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PackedCoordinateSequence.Float constructor (#379)
Reformat unit tests. Signed-off-by: Martin Davis <[email protected]>
- Loading branch information
Showing
4 changed files
with
188 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...core/src/test/java/org/locationtech/jts/geom/impl/PackedCoordinateSequenceDoubleTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (c) 2016 Vivid Solutions. | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* and Eclipse Distribution License v. 1.0 which accompanies this distribution. | ||
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html | ||
* and the Eclipse Distribution License is available at | ||
* | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
*/ | ||
|
||
package org.locationtech.jts.geom.impl; | ||
|
||
import org.locationtech.jts.geom.CoordinateSequenceFactory; | ||
|
||
import junit.textui.TestRunner; | ||
|
||
/** | ||
* Test {@link PackedCoordinateSequence.Double} | ||
* using the {@link CoordinateSequenceTestBase} | ||
* @version 1.7 | ||
*/ | ||
public class PackedCoordinateSequenceDoubleTest | ||
extends CoordinateSequenceTestBase | ||
{ | ||
public static void main(String args[]) { | ||
TestRunner.run(PackedCoordinateSequenceDoubleTest.class); | ||
} | ||
|
||
public PackedCoordinateSequenceDoubleTest(String name) | ||
{ | ||
super(name); | ||
} | ||
|
||
@Override | ||
CoordinateSequenceFactory getCSFactory() { | ||
return PackedCoordinateSequenceFactory.DOUBLE_FACTORY; | ||
} | ||
|
||
} |
42 changes: 42 additions & 0 deletions
42
.../core/src/test/java/org/locationtech/jts/geom/impl/PackedCoordinateSequenceFloatTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* Copyright (c) 2016 Vivid Solutions. | ||
* | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* and Eclipse Distribution License v. 1.0 which accompanies this distribution. | ||
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html | ||
* and the Eclipse Distribution License is available at | ||
* | ||
* http://www.eclipse.org/org/documents/edl-v10.php. | ||
*/ | ||
|
||
package org.locationtech.jts.geom.impl; | ||
|
||
import org.locationtech.jts.geom.CoordinateSequenceFactory; | ||
|
||
import junit.textui.TestRunner; | ||
|
||
/** | ||
* Test {@link PackedCoordinateSequence.Float} | ||
* using the {@link CoordinateSequenceTestBase} | ||
* | ||
* @version 1.7 | ||
*/ | ||
public class PackedCoordinateSequenceFloatTest | ||
extends CoordinateSequenceTestBase | ||
{ | ||
public static void main(String args[]) { | ||
TestRunner.run(PackedCoordinateSequenceFloatTest.class); | ||
} | ||
|
||
public PackedCoordinateSequenceFloatTest(String name) | ||
{ | ||
super(name); | ||
} | ||
|
||
@Override | ||
CoordinateSequenceFactory getCSFactory() { | ||
return PackedCoordinateSequenceFactory.FLOAT_FACTORY; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters