diff --git a/test/test_StringManipulation.c b/test/test_StringManipulation.c index af7c1fb..5e9d2dc 100644 --- a/test/test_StringManipulation.c +++ b/test/test_StringManipulation.c @@ -7,15 +7,47 @@ void test_power() { - /*initializing test values*/ - int testValues[] = {1,2,3,4,5,6,7,8,9}; - int expectedValues[] = {1,4,9,16,25,36,49,64,81}; + + /*test block 1*/ + int testValues[] = {1,2,3,4,5,6,7,8,9,10}; + int expectedValues[] = {1,4,9,16,25,36,49,64,81,100}; int length = sizeof(testValues)/sizeof(int); - /*assertions*/ const int exponent = 2; for(int i=0;i