Conditionally set the test precision at compile-time based on FPType.

All tests pass whether FPType is double and float.

In the future we should better investigate what part of the code is sensitive to precision.
Use single-precision floats by default.

This should be significantly more efficient than using doubles.
Cleanup tests.