Test Examples
Example 1: some simple math
Example 2: a zip code validator
The JsUnit distribution comes with many standard tests that test the JsUnit framework itself. They can be very useful for learning how to write tests. To get started writing tests, it can be helpful to take one of them and adapt it to your own Test Functions. You can see them here (open one and view the source).
Are these examples sufficient? Let me know.