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

This commit is contained in:
Sean McGovern 2021-02-17 16:41:28 -05:00
parent be0adc29fa
commit 4fa9973936

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);