From bab22e1946a656088804b61cf765461b48744971 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 22 Apr 2025 16:12:21 +0200 Subject: Update tests for oriented_cube_t --- test/102_cocsep_selfsim/cocsep_selfsim_tests.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/102_cocsep_selfsim') diff --git a/test/102_cocsep_selfsim/cocsep_selfsim_tests.c b/test/102_cocsep_selfsim/cocsep_selfsim_tests.c index 9966321..1a1c6f2 100644 --- a/test/102_cocsep_selfsim/cocsep_selfsim_tests.c +++ b/test/102_cocsep_selfsim/cocsep_selfsim_tests.c @@ -16,7 +16,8 @@ void run(void) { uint32_t *cocsepdata, data; int64_t coord, coclass; uint64_t selfsim[COCSEP_CLASSES], sim, t; - cube_t cube, rep[COCSEP_CLASSES]; + oriented_cube_t cube; + cube_t rep[COCSEP_CLASSES]; gendata_cocsep(buf, selfsim, rep); cocsepdata = (uint32_t *)(buf + INFOSIZE); @@ -25,7 +26,7 @@ void run(void) { while (fgets(str, STRLENMAX, stdin) != NULL) { cube = readcube(str); - coord = coord_cocsep(cube); + coord = coord_cocsep(cube.cube); data = cocsepdata[coord]; coclass = (data & (0xFFFU << 16)) >> 16; sim = selfsim[coclass]; -- cgit v1.3