Test each case in testcases against an arbitrary expectAttr and eval'd Arg
For eval:
ans
is an array containing the result of the functionargs
is an array of input arguments to the functiontoTest
is the function you gave as inputCall function with each testcase and check it doesn't throw
Test each case in testcases.
Warning: if your function really accepts an array, that array must be double wrapped