Subastra
|
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include "../arena.h"
#include "../defs.h"
#include "../physics/sat.h"
Macros | |
#define | EPSILON 1e-4 |
Functions | |
void | _test_setup () |
void | _test_cleanup () |
static bool | almost_equal (float a, float b) |
void | _test_two_triangles_intersecting () |
void | _test_two_triangles_non_intersecting () |
void | _test_two_squares_partial_overlap () |
void | _test_corner_touching_squares () |
void | _test_triangles_sharing_edge () |
void | _test_identical_triangles () |
Variables | |
int | _test_count = 6 |
const char * | _tests [] |
#define EPSILON 1e-4 |
void _test_cleanup | ( | ) |
void _test_corner_touching_squares | ( | ) |
void _test_identical_triangles | ( | ) |
void _test_setup | ( | ) |
void _test_triangles_sharing_edge | ( | ) |
void _test_two_squares_partial_overlap | ( | ) |
void _test_two_triangles_intersecting | ( | ) |
void _test_two_triangles_non_intersecting | ( | ) |
|
static |
int _test_count = 6 |
const char* _tests[] |