#include #include #include #include #include "../src/helperFunctions.c" void test_calculateStringLength() { char *testStrings[] = {"linux","table","book","men","woman","boy","girl","computer","old","new","water","fire","bright","dark","black","white"}; int expectedResults[] = {5,5,4,3,5,3,4,8,3,3,5,4,6,4,5,5}; int numberOfValues= sizeof(expectedResults) / sizeof(int); for(int i=0;i