diff --git a/README.md b/README.md index 8899d77..92b7c92 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# IBI WZDx .NET Library +# WZDx .NET Library This repository contains the source code for IBI Group's [.NET 6.0](https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotnet-6) [WZDx (Work Zone Data Exchange)](https://github.com/usdot-jpo-ode/wzdx) class library, `IBI.WZDx`. @@ -14,7 +14,7 @@ The library provides the following functionality: ### WZDx Version Support -WZDx versions 4.0, 4.1 & 4.2 are supported; the [WzdxSerializer](./src/IBI.WZDx/Serialization/WzdxSerializer.cs) defaults to outputting v4.2 (latest WZDx). +WZDx versions 4.0, 4.1, and 4.2 are supported; the [WzdxSerializer](./src/IBI.WZDx/Serialization/WzdxSerializer.cs) defaults to outputting v4.2 (latest WZDx). [Detour road events](https://github.com/usdot-jpo-ode/wzdx/blob/main/spec-content/objects/DetourRoadEvent.md) are not supported. When provided with a Work Zone Feed that includes detour road events, the WzdxSerializer.DeserializeFeed method will deserialize the detour events into a [RoadEventFeature](./src/IBI.WZDx/Models/RoadEvents/RoadEventFeature.cs) with `Properties` as `null`. @@ -75,4 +75,4 @@ This solution includes a [IBI.WZDx.UnitTests](/tests/IBI.WZDx.UnitTests/) Xunit ``` dotnet test -``` \ No newline at end of file +``` diff --git a/tests/IBI.WZDx.UnitTests/WzdxSerializerTests.cs b/tests/IBI.WZDx.UnitTests/WzdxSerializerTests.cs index 6c5fb23..709aac6 100644 --- a/tests/IBI.WZDx.UnitTests/WzdxSerializerTests.cs +++ b/tests/IBI.WZDx.UnitTests/WzdxSerializerTests.cs @@ -810,7 +810,7 @@ string expectedFeedJson ImpactedCdsCurbZones: new CdsCurbZonesReference[] { new CdsCurbZonesReference( - CdsCurbZoneIds: new string[] {"Zone Id 1", "Zone Id 2"}, + CdsCurbZoneIds: new string[] { "Zone Id 1", "Zone Id 2" }, CdsCurbsApiUrl: "API Url" ) }, @@ -818,7 +818,8 @@ string expectedFeedJson ), Geometry: new RoadEventFeatureGeometry( Type: RoadEventFeatureGeometryType.LineString, - Coordinates: new double[][] { + Coordinates: new double[][] + { new double[] { -93.77668405099996, @@ -1908,4 +1909,4 @@ private static void DeserializeFeed_JsonNotValid_ThrowsJsonException( Assert.Throws(action); } -} \ No newline at end of file +}