From 84b4b63be081dfd951e921985950604147a54e42 Mon Sep 17 00:00:00 2001 From: Landon Fackrell Date: Fri, 18 Oct 2024 14:02:21 -0600 Subject: [PATCH] Add tests --- src/tests/InternationalStreet/CandidateTest.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/tests/InternationalStreet/CandidateTest.cs b/src/tests/InternationalStreet/CandidateTest.cs index df487bf..6e4a026 100644 --- a/src/tests/InternationalStreet/CandidateTest.cs +++ b/src/tests/InternationalStreet/CandidateTest.cs @@ -29,7 +29,9 @@ public void TestAllFieldsFilledCorrectly() "\"building_trailing_type\":\"44\",\"sub_building_type\":\"45\",\"sub_building_number\":\"46\"," + "\"sub_building_name\":\"47\",\"sub_building\":\"48\",\"level_type\":\"48.1\",\"level_number\":\"48.2\"," + "\"post_box\":\"49\",\"post_box_type\":\"50\"," + - "\"post_box_number\":\"51\"},\"metadata\":{\"latitude\":52.0,\"longitude\":53.0," + + "\"post_box_number\":\"51\",\"additional_content\":\"112\",\"delivery_installation\":\"113\"," + + "\"delivery_installation_type\":\"114\",\"delivery_installation_qualifier_name\":\"115\",\"route\":\"116\"," + + "\"route_number\":\"117\",\"route_type\":\"118\"},\"metadata\":{\"latitude\":52.0,\"longitude\":53.0," + "\"geocode_precision\":\"54\",\"max_geocode_precision\":\"55\",\"address_format\":\"56\"}," + "\"analysis\":{\"verification_status\":\"57\",\"address_precision\":\"58\",\"max_address_precision\":\"59\"," + "\"changes\":{\"organization\":\"60\",\"address1\":\"61\",\"address2\":\"62\",\"address3\":\"63\"," + @@ -126,6 +128,13 @@ public void TestAllFieldsFilledCorrectly() Assert.AreEqual("49", components.PostBox); Assert.AreEqual("50", components.PostBoxType); Assert.AreEqual("51", components.PostBoxNumber); + Assert.AreEqual("112", components.AdditionalContent); + Assert.AreEqual("113", components.DeliveryInstallation); + Assert.AreEqual("114", components.DeliveryInstallationType); + Assert.AreEqual("115", components.DeliveryInstallationQualifierName); + Assert.AreEqual("116", components.Route); + Assert.AreEqual("117", components.RouteNumber); + Assert.AreEqual("118", components.RouteType); #endregion