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,28 +1,19 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "helpers.h"
|
||||
#include "main.h"
|
||||
|
||||
#include "tests/utilities.h"
|
||||
#include "tests/vector2.h"
|
||||
#include "tests/vector3.h"
|
||||
#include "tests/complex.h"
|
||||
#include "tests/quaternion.h"
|
||||
#include "tests/versor.h"
|
||||
#include "unity/unity.h"
|
||||
|
||||
void setUp()
|
||||
{
|
||||
}
|
||||
|
||||
void tearDown()
|
||||
{
|
||||
}
|
||||
|
||||
int main()
|
||||
{
|
||||
test_utilities();
|
||||
|
||||
test_vector2();
|
||||
|
||||
test_vector3();
|
||||
|
||||
test_complex();
|
||||
|
||||
test_quaternion();
|
||||
|
||||
test_versor();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue