Index: test/Common/SharpMap.Tests/Data/Providers/FeatureProviderTest.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- test/Common/SharpMap.Tests/Data/Providers/FeatureProviderTest.cs (.../FeatureProviderTest.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ test/Common/SharpMap.Tests/Data/Providers/FeatureProviderTest.cs (.../FeatureProviderTest.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -24,13 +24,16 @@ features[1].Geometry = GeometryFromWKT.Parse("LINESTRING (30 30, 30 40, 40 40, 40 30, 50 30)"); features[2].Geometry = GeometryFromWKT.Parse("LINESTRING (40 40, 40 50, 50 50, 50 40, 60 40)"); - FeatureCollection featureCollection = new FeatureCollection {Features = features}; + FeatureCollection featureCollection = new FeatureCollection + { + Features = features + }; Map map = new Map(); - + VectorLayer vectorLayer = new VectorLayer(); vectorLayer.DataSource = featureCollection; - + map.Layers.Add(vectorLayer); Assert.AreEqual(3, vectorLayer.DataSource.GetFeatureCount()); @@ -44,7 +47,10 @@ { EventedList features = new EventedList(); - FeatureCollection featureCollection = new FeatureCollection {Features = features}; + FeatureCollection featureCollection = new FeatureCollection + { + Features = features + }; IGeometry geometry = GeometryFromWKT.Parse("LINESTRING (20 20, 20 30, 30 30, 30 20, 40 20)"); featureCollection.Add(geometry);