mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
UnitTest: test that the function pointer for vfpu_sincos() is non-null
This commit is contained in:
parent
be0adc29fa
commit
4fa9973936
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue