Skip to content

Commit bb60ae0

Browse files
authored
Merge pull request #16 from ibi-group/release/4.2.0
Merge release/4.2.0 branch to develop after merge to main
2 parents 2287687 + bcec5f5 commit bb60ae0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# IBI WZDx .NET Library
1+
# WZDx .NET Library
22

33
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`.
44

@@ -14,7 +14,7 @@ The library provides the following functionality:
1414

1515
### WZDx Version Support
1616

17-
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).
17+
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).
1818

1919
[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`.
2020

@@ -75,4 +75,4 @@ This solution includes a [IBI.WZDx.UnitTests](/tests/IBI.WZDx.UnitTests/) Xunit
7575

7676
```
7777
dotnet test
78-
```
78+
```

tests/IBI.WZDx.UnitTests/WzdxSerializerTests.cs

+4-3
Original file line numberDiff line numberDiff line change
@@ -810,15 +810,16 @@ string expectedFeedJson
810810
ImpactedCdsCurbZones: new CdsCurbZonesReference[]
811811
{
812812
new CdsCurbZonesReference(
813-
CdsCurbZoneIds: new string[] {"Zone Id 1", "Zone Id 2"},
813+
CdsCurbZoneIds: new string[] { "Zone Id 1", "Zone Id 2" },
814814
CdsCurbsApiUrl: "API Url"
815815
)
816816
},
817817
WorkZoneType: WorkZoneType.Static
818818
),
819819
Geometry: new RoadEventFeatureGeometry(
820820
Type: RoadEventFeatureGeometryType.LineString,
821-
Coordinates: new double[][] {
821+
Coordinates: new double[][]
822+
{
822823
new double[]
823824
{
824825
-93.77668405099996,
@@ -1908,4 +1909,4 @@ private static void DeserializeFeed_JsonNotValid_ThrowsJsonException<TWzdxFeed>(
19081909

19091910
Assert.Throws<JsonException>(action);
19101911
}
1911-
}
1912+
}

0 commit comments

Comments
 (0)