I like how 'code examples' are above 'test cases' ... But a test case would include a code example, and proof that it works. -sigh-
Test cases are certainly useful if you need to dive into comprehensive/advanced usage of the API. But if you just want to "get started", a huge vat of unit tests can be daunting.