mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 18:49:51 +01:00
UnitTest: test that the function pointer for vfpu_sincos() is non-null
This commit is contained in:
1 parent
be0adc29fa
commit
4fa9973936
1 file changed
+1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user