From 166119f5c3219548350470d85f3823b82c43d650 Mon Sep 17 00:00:00 2001 From: Al Date: Wed, 10 Feb 2016 09:26:12 -0500 Subject: [PATCH] [test] Adding numex tests for the concatenated case --- test/test_numex.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/test_numex.c b/test/test_numex.c index 22775964..f01708cb 100644 --- a/test/test_numex.c +++ b/test/test_numex.c @@ -30,6 +30,9 @@ TEST test_numeric_expressions(void) { CHECK_CALL(test_numex("thirty west twenty-sixth street", "30 west 26th street", "en")); CHECK_CALL(test_numex("five and sixth", "5 and 6th", "en")); CHECK_CALL(test_numex("three hundred thousand nineteenhundred and forty-fifth", "301945th", "en")); + CHECK_CALL(test_numex("seventeen eighty", "1780", "en")); + CHECK_CALL(test_numex("ten oh four", "1004", "en")); + CHECK_CALL(test_numex("ten and four", "10 and 4", "en")); // French (Celtic-style) numbers CHECK_CALL(test_numex("quatre-vignt-douze", "92", "fr"));