From e81580287daab07af9b187f0b864e89d8420454b Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 19 Apr 2017 20:59:36 -0400 Subject: [PATCH] [test] adding tests for ordinal suffix normalization --- test/test_expand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_expand.c b/test/test_expand.c index a1938984..f8781a01 100644 --- a/test/test_expand.c +++ b/test/test_expand.c @@ -80,6 +80,8 @@ TEST test_expansions(void) { libpostal_normalize_options_t options = libpostal_get_default_options(); CHECK_CALL(test_expansion_contains_with_languages("123 Main St. #2f", "123 main street number 2f", options, 1, "en")); + CHECK_CALL(test_expansion_contains_with_languages("120 E 96th St", "120 east 96 street", options, 1, "en")); + CHECK_CALL(test_expansion_contains_with_languages("120 E Ninety-sixth St", "120 east 96 street", options, 1, "en")); CHECK_CALL(test_expansion_contains_with_languages("S St. NW", "s street northwest", options, 1, "en")); CHECK_CALL(test_expansion_contains_with_languages("Marktstrasse", "markt strasse", options, 1, "de")); CHECK_CALL(test_expansion_contains_with_languages("Hoofdstraat", "hoofdstraat", options, 1, "nl"));