Fix complex.csqrtf test and add a trivial sincosl test.
sincos and sincosf are being tested more thoroughly with a table of data,
but there's nothing equivalent for sincosl.
Test: ran the tests, obviously.
Change-Id: I5b4b22b73cad9b0030549de2e2ed2a0e38648806
diff --git a/tests/complex_test.cpp b/tests/complex_test.cpp
index a8f6777..f18fac5 100644
--- a/tests/complex_test.cpp
+++ b/tests/complex_test.cpp
@@ -288,7 +288,7 @@
}
TEST(complex, csqrtf) {
- ASSERT_EQ(0.0f, csqrt(0));
+ ASSERT_EQ(0.0f, csqrtf(0));
}
TEST(complex, csqrtl) {