mirror of
https://github.com/guezoloic/t3dsr.git
synced 2026-01-25 12:34:24 +00:00
feat: add all vector tests
This commit is contained in:
@@ -1,15 +1,39 @@
|
||||
#include "test_vec3.h"
|
||||
#include "test_vec.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
addVector3_test();
|
||||
subVector3_test();
|
||||
scaleVector3_test();
|
||||
dotVector3_test();
|
||||
lenVector3_test();
|
||||
normVector3_test();
|
||||
distVector3_test();
|
||||
|
||||
// --- Vector3 ---
|
||||
|
||||
void addVector3_test();
|
||||
void subVector3_test();
|
||||
void scaleVector3_test();
|
||||
void dotVector3_test();
|
||||
void lenVector3_test();
|
||||
void normVector3_test();
|
||||
void lerpVector3_test();
|
||||
void anglVector3_test();
|
||||
void projVector3_test();
|
||||
void reflVector3_test();
|
||||
void distVector3_test();
|
||||
printf("All Vector3 tests succeeded\n");
|
||||
|
||||
// --- Vector4 ---
|
||||
|
||||
void addVector4_test();
|
||||
void subVector4_test();
|
||||
void scaleVector4_test();
|
||||
void dotVector4_test();
|
||||
void lenVector4_test();
|
||||
void normVector4_test();
|
||||
void lerpVector4_test();
|
||||
void anglVector4_test();
|
||||
void projVector4_test();
|
||||
void reflVector4_test();
|
||||
void distVector4_test();
|
||||
printf("All Vector4 tests succeeded\n");
|
||||
|
||||
printf("All tests succeeded\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user