Question: Write a single complete C file containing automated unit tests for the functions from mystring.h . Cover all the types of test cases we have
Write a single complete C file containing automated unit tests for the
functions from mystring.h Cover all the types of test cases we have learned as
thoroughly as possible, and organize your tests into functions called from a main
program. Write the main program as well.
You may call the following functions after including a header file "tests.h where
the first four are identical to those used in the assignments and model solutions.
VERIFYINTexpected test and VERIFYSTRexpected testwill
compare the test value to expected; test may be a function call.
VERIFYNULLtest and VERIFYNOTNULLtestwill compare the test to
NULL; test may be a function call.
printsummary prints a summary showing the number of tests passed and
failed; you do not have to count this yourself.
You can choose a testingappropriate value for MAXSTRINGLENGTH here.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
