From ‘Beautiful Code’
1. Start from Smoke Test
2. Then add Boundary Tests
3. Go on with other tests for a complete coverage (random tests etc.)
4. Finally, add some tests for performance
P.S. : Try to do random tests by generating numerous random values