erget/apisElectronica — pull request #22 by erget (2013-04-18 16:54:44+00:00)
Title: Refactor point test and add randomly generated 2d points to test suite

Fixes #12, that headings were being computed wrong. Another advantage to this commit is that there are now randomly generated points included in the test suite. The tests still pass, further proving the robustness of the heading method.