From 879da6214a847fef4f7062c6d48df08aece4edd8 Mon Sep 17 00:00:00 2001 From: Al Date: Fri, 29 Apr 2016 13:27:41 -0400 Subject: [PATCH] [test] Adding test for ambiguous expansion --- test/test_expand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_expand.c b/test/test_expand.c index bed8ff69..b057c42c 100644 --- a/test/test_expand.c +++ b/test/test_expand.c @@ -69,6 +69,7 @@ TEST test_expansions(void) { normalize_options_t options = get_libpostal_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("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")); CHECK_CALL(test_expansion_contains_with_languages("มงแตร", "มงแตร", options, 1, "th"));