From 283effb16646112ee9c6bba57e021e80f322b29f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 4 Oct 2024 14:29:00 +0200 Subject: Avoid repeating typedefs in tests --- test/104_cocsep_ttrep/cocsep_ttrep_tests.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'test/104_cocsep_ttrep') diff --git a/test/104_cocsep_ttrep/cocsep_ttrep_tests.c b/test/104_cocsep_ttrep/cocsep_ttrep_tests.c index efe5a26..0b853c3 100644 --- a/test/104_cocsep_ttrep/cocsep_ttrep_tests.c +++ b/test/104_cocsep_ttrep/cocsep_ttrep_tests.c @@ -1,11 +1,5 @@ #include "../test.h" -#define TTREP_MASK (UINT32_C(0xFF) << UINT32_C(8)) -#define TTREP(x) (((x) & TTREP_MASK) >> UINT32_C(8)) - -#define COCSEP_CLASSES 3393 -#define INFOSIZE 512 - uint8_t inverse_trans(uint8_t); cube_t transform_corners(cube_t, uint8_t); int64_t coord_cocsep(cube_t); @@ -15,8 +9,8 @@ void run(void) { uint8_t t; char buf[2000000]; uint32_t *cocsepdata, tt; - uint64_t selfsim[COCSEP_CLASSES]; - int64_t i, j, k, l; + uint64_t i, selfsim[COCSEP_CLASSES]; + int64_t j, k, l; cube_t rep[COCSEP_CLASSES], c, d; gendata_cocsep(buf, selfsim, rep); -- cgit v1.3