Using Unity (a special library for C for Unit tests)
This commit is contained in:
parent
857d79e572
commit
fd7c6c91cd
10 changed files with 4638 additions and 24 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#include "vector2.h"
|
||||
#include "./vector2.h"
|
||||
|
||||
void test_vector2()
|
||||
{
|
||||
|
|
@ -11,11 +11,12 @@ void test_vector2()
|
|||
test_vector2_is_zero();
|
||||
test_vector2_is_unit();
|
||||
test_vector2_modulus();
|
||||
|
||||
/*
|
||||
test_vector2_add();
|
||||
test_vector2_subtract();
|
||||
test_vector2_multiply();
|
||||
test_vector2_divide();
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue