UnitTest: test that the function pointer for vfpu_sincos() is non-null

This commit is contained in:
Sean McGovern committed 2021-02-17 16:41:28 -05:00
1 parent be0adc29fa
commit 4fa9973936
1 file changed
+1
+1
View File
@@ -298,6 +298,7 @@ bool TestParsers() {
bool TestVFPUSinCos() {
float sine, cosine;
EXPECT_FALSE(vfpu_sincos == nullptr);
vfpu_sincos(0.0f, sine, cosine);
EXPECT_EQ_FLOAT(sine, 0.0f);
EXPECT_EQ_FLOAT(cosine, 1.0f);