there are alot of "magic values" used in the tests. Have you considered sampling from e.g. sin(x) function in the test and testing against the expected values..