return value test
A return value test invokes a function on a particular set of inputs and checks whether the return value is the correct one for those inputs.
side effect test
A side effect test invokes a function or method and then checks whether some object’s contents were suitably transformed by the end of the execution of the function or method.
test case
An assertion about the state of the program at particular point in its execution, such as the type of a variable or of a value returned by a
Next Section - Prediction and Classification