diff --git a/tests/build/test/cache/test_Error.c b/tests/build/test/cache/test_Error.c index e9c72bf..f40d7cc 100644 --- a/tests/build/test/cache/test_Error.c +++ b/tests/build/test/cache/test_Error.c @@ -20,94 +20,98 @@ void test_error() int bound = 1000; - int val1,val2,val3,val4,val5,val6,val7,val8,val9,val10; + int invalidErrorCodes_1[bound]; + int invalidErrorCodesLarge_2[bound]; + int invalidErrorCodesLargest_3[bound]; - val1 = rand() % 1000 + 1; + int validErrorCodeUnsuccessfulLogin[bound]; - val2 = rand() % 1000 + 1; + int validErrorCodeMaximumNumberOfAttempts[bound]; - val3 = rand() % 1000 + 1; + int validErrorCodeNoMenuEntryForNumber[bound]; - val4 = rand() % 1000 + 1; - val5 = rand() % 1000 + 1; - val6 = rand() % 1000 + 1; + for(int i=0;i