Remember: unit tests only help when the test cases are checking for a correct result. The only thing less fun than debugging a function that does a bunch of complicated trigonometry is discovering that you didn’t solve the triangles correctly by hand when writing the test case.Read the rest of this entry »