Re:Why Most Unit Testing is Waste [pdf]
by Anderkent on Thursday March 06, 2014 @09:59AM
(#7353989)
Look for TDD tutorials for less trivial examples of what you should test. You want a general 'how do I know what to test' tutorial, rather than 'how do I use testing framework X' (which is what you were probably reading, if they show you how to test 1+1).
Other than that, just be explicit about your api contracts and test those.
Other than that, just be explicit about your api contracts and test those.