assertEquals("Invalid y coordinate", coordinate.y, 1.59, 0.1);
}
public void testCreateFeatureBadGeometry() throws IOException {
String input = CSVTestStrategySupport.buildInputString("fleem,morx", "foo,bar");
CSVFileState fileState = new CSVFileState(input, "blub");
CSVStrategy strategy = new CSVSpecifiedWKTStrategy(fileState, "fleem");
SimpleFeatureType featureType = strategy.getFeatureType();
assertEquals("Invalid attribute count", 2, featureType.getAttributeCount());
CSVTestStrategySupport.verifyType(featureType.getDescriptor("fleem"), Geometry.class);
CSVTestStrategySupport.verifyType(featureType.getDescriptor("morx"), String.class);