From ef6d187ce1c13ce904a3cd83a82aad559b17b88f Mon Sep 17 00:00:00 2001 From: Lewis Van Winkle Date: Sat, 23 Jan 2016 12:36:58 -0600 Subject: [PATCH] Added test case for empty string. --- test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.c b/test.c index a341447..ff9a38c 100644 --- a/test.c +++ b/test.c @@ -107,6 +107,7 @@ test_case cases[] = { test_case errors[] = { + {"", 1}, {"1+", 2}, {"1)", 2}, {"(1", 2}, @@ -123,6 +124,7 @@ test_case errors[] = { const char *nans[] = { + "", "1+", "1)", "(1",