Lines Matching refs:SDK_ASSERTMSG
88 SDK_ASSERTMSG(c.x == 6 * FX32_ONE && c.y == 9 * FX32_ONE && c.z == 14 * FX32_ONE, "VEC_Add"); in test_FX_VEC()
91 SDK_ASSERTMSG(c.x == -4 * FX32_ONE && c.y == -5 * FX32_ONE in test_FX_VEC()
95 SDK_ASSERTMSG(tmp == 52 * FX32_ONE, "VEC_DotProduct %d", tmp); in test_FX_VEC()
98 SDK_ASSERTMSG(c.x == FX32_ONE && c.y == 4 * FX32_ONE in test_FX_VEC()
102 SDK_ASSERTMSG(tmp == 15326, "VEC_Mag"); in test_FX_VEC()
106 SDK_ASSERTMSG(c.x == 1095 && in test_FX_VEC()
121 SDK_ASSERTMSG(tmp == 12868, "FX_DEG_TO_RAD"); in test_FX_TRIG()
126 SDK_ASSERTMSG(tmp == 32768, "FX_DEG_TO_IDX"); in test_FX_TRIG()
131 SDK_ASSERTMSG(tmp == 1474564, "FX_RAD_TO_DEG"); in test_FX_TRIG()
136 SDK_ASSERTMSG(tmp == 32768, "FX_RAD_TO_IDX"); in test_FX_TRIG()
205 SDK_ASSERTMSG(tmp == 2731, "FX_Div"); in test_FX_CP()
209 SDK_ASSERTMSG(tmp == 2731, "FX_Inv"); in test_FX_CP()
213 SDK_ASSERTMSG(tmp == 5793, "FX_Sqrt %d", tmp); in test_FX_CP()
219 SDK_ASSERTMSG(tmp == 2731, "FX_DivAsync/FX_GetDivResultAsync"); in test_FX_CP()
225 SDK_ASSERTMSG(tmp == 2731, "FX_InvAsync/FX_GetInvResultAsync"); in test_FX_CP()
231 SDK_ASSERTMSG(tmp == 5793, "FX_SqrtAsync/FX_GetSqrtResultAsync"); in test_FX_CP()
236 SDK_ASSERTMSG(tmp == (FX32_ONE >> 1), "FX_InvSqrt"); in test_FX_CP()
343 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_Identity33"); in test_FX_MTX33()
345 SDK_ASSERTMSG(equal_mtx33(&m, &m33), "MTX_Copy33"); in test_FX_MTX33()
347 SDK_ASSERTMSG(equal_mtx43(&m43, &ans43), "MTX_Copy33To43"); in test_FX_MTX33()
349 SDK_ASSERTMSG(equal_mtx44(&m44, &ans44), "MTX_Copy33To44"); in test_FX_MTX33()
364 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_Transpose33"); in test_FX_MTX33()
374 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_Scale33"); in test_FX_MTX33()
390 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_RotX33/MTX_Concat33"); in test_FX_MTX33()
396 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_RotY33/MTX_Concat33"); in test_FX_MTX33()
402 SDK_ASSERTMSG(equal_mtx33(&m, &ans), "MTX_RotZ33/MTX_Concat33"); in test_FX_MTX33()
413 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_RotAxis33"); in test_FX_MTX33()
417 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_RotAxis33"); in test_FX_MTX33()
421 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_RotAxis33"); in test_FX_MTX33()
429 SDK_ASSERTMSG(!flag, "MTX_Inverse33"); in test_FX_MTX33()
431 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
435 SDK_ASSERTMSG(!flag, "MTX_Inverse33"); in test_FX_MTX33()
437 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
441 SDK_ASSERTMSG(!flag, "MTX_Inverse33"); in test_FX_MTX33()
443 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
459 SDK_ASSERTMSG(flag, "MTX_Inverse33"); in test_FX_MTX33()
460 SDK_ASSERTMSG(equal_mtx33(&ans, &m), "MTX_Inverse33"); in test_FX_MTX33()
472 SDK_ASSERTMSG(vec.x == ans.x && vec.y == ans.y && vec.z == ans.z, "MTX_MultVec33"); in test_FX_MTX33()
507 SDK_ASSERTMSG(equal_mtx43(&m, &ans43), "MTX_Identity43"); in test_FX_MTX43()
509 SDK_ASSERTMSG(equal_mtx43(&m, &m43), "MTX_Copy43"); in test_FX_MTX43()
511 SDK_ASSERTMSG(equal_mtx33(&m33, &ans33), "MTX_Copy43To33"); in test_FX_MTX43()
513 SDK_ASSERTMSG(equal_mtx44(&m44, &ans44), "MTX_Copy43To44"); in test_FX_MTX43()
530 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_Transpose43"); in test_FX_MTX43()
541 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_Scale43"); in test_FX_MTX43()
558 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_RotX43/MTX_Concat43"); in test_FX_MTX43()
564 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_RotY43/MTX_Concat43"); in test_FX_MTX43()
570 SDK_ASSERTMSG(equal_mtx43(&m, &ans), "MTX_RotZ43/MTX_Concat43"); in test_FX_MTX43()
580 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_RotAxis43"); in test_FX_MTX43()
584 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_RotAxis43"); in test_FX_MTX43()
588 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_RotAxis43"); in test_FX_MTX43()
597 SDK_ASSERTMSG(!flag, "MTX_Inverse43"); in test_FX_MTX43()
599 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
603 SDK_ASSERTMSG(!flag, "MTX_Inverse43"); in test_FX_MTX43()
605 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
609 SDK_ASSERTMSG(!flag, "MTX_Inverse43"); in test_FX_MTX43()
611 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
629 SDK_ASSERTMSG(flag, "MTX_Inverse43"); in test_FX_MTX43()
630 SDK_ASSERTMSG(equal_mtx43(&ans, &m), "MTX_Inverse43"); in test_FX_MTX43()
664 SDK_ASSERTMSG(equal_mtx44(&m, &ans44), "MTX_Identity44"); in test_FX_MTX44()
666 SDK_ASSERTMSG(equal_mtx44(&m, &m44), "MTX_Copy44"); in test_FX_MTX44()
668 SDK_ASSERTMSG(equal_mtx33(&m33, &ans33), "MTX_Copy44To33"); in test_FX_MTX44()
670 SDK_ASSERTMSG(equal_mtx43(&m43, &ans43), "MTX_Copy44To43"); in test_FX_MTX44()
687 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_Transpose44"); in test_FX_MTX44()
698 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_Scale44"); in test_FX_MTX44()
716 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_RotX44/MTX_Concat44"); in test_FX_MTX44()
722 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_RotY44/MTX_Concat44"); in test_FX_MTX44()
728 SDK_ASSERTMSG(equal_mtx44(&m, &ans), "MTX_RotZ44/MTX_Concat44"); in test_FX_MTX44()
738 SDK_ASSERTMSG(equal_mtx44(&ans, &m), "MTX_RotAxis44"); in test_FX_MTX44()
742 SDK_ASSERTMSG(equal_mtx44(&ans, &m), "MTX_RotAxis44"); in test_FX_MTX44()
746 SDK_ASSERTMSG(equal_mtx44(&ans, &m), "MTX_RotAxis44"); in test_FX_MTX44()
762 SDK_ASSERTMSG(testTable[i * 2] == s || testTable[i * 2 + 1] == c, "FX_SinIdx, FX_CosIdx\n"); in test_Table()