Added test case for empty string.

This commit is contained in:
Lewis Van Winkle
2016-01-23 12:36:58 -06:00
parent 75952ab5fd
commit ef6d187ce1

2
test.c
View File

@@ -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",