aboutsummaryrefslogtreecommitdiff
path: root/test/077_copy_edges
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-09 12:43:49 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-09 12:43:49 +0200
commitc5c5017a335208881e27fc8f72c1d0145a04622a (patch)
tree7a1518e5b05f3fbde810fa3080c41099ba7d5ae8 /test/077_copy_edges
parent28ad019d62583b7e89b4e76922aa73857d5876eb (diff)
downloadnissy-core-c5c5017a335208881e27fc8f72c1d0145a04622a.tar.gz
nissy-core-c5c5017a335208881e27fc8f72c1d0145a04622a.zip
Remvoed cube_fast_t and more. More cleaning up to do.
Diffstat (limited to 'test/077_copy_edges')
-rw-r--r--test/077_copy_edges/copy_edges_tests.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/077_copy_edges/copy_edges_tests.c b/test/077_copy_edges/copy_edges_tests.c
index b428f89..9afcb73 100644
--- a/test/077_copy_edges/copy_edges_tests.c
+++ b/test/077_copy_edges/copy_edges_tests.c
@@ -1,23 +1,19 @@
1#include "../test.h" 1#include "../test.h"
2 2
3void copy_edges_fast(cube_fast_t *, cube_fast_t); 3void copy_edges(cube_t *, cube_t);
4 4
5int main(void) { 5int main(void) {
6 char str[STRLENMAX]; 6 char str[STRLENMAX];
7 cube_t c1, c2; 7 cube_t c1, c2;
8 cube_fast_t f1, f2;
9 8
10 fgets(str, STRLENMAX, stdin); 9 fgets(str, STRLENMAX, stdin);
11 c1 = readcube("H48", str); 10 c1 = readcube("H48", str);
12 f1 = cubetofast(c1);
13 11
14 fgets(str, STRLENMAX, stdin); 12 fgets(str, STRLENMAX, stdin);
15 c2 = readcube("H48", str); 13 c2 = readcube("H48", str);
16 f2 = cubetofast(c2);
17 14
18 copy_edges_fast(&f1, f2); 15 copy_edges(&c1, c2);
19 16
20 c1 = fasttocube(f1);
21 if (iserror(c1)) { 17 if (iserror(c1)) {
22 printf("Error setting EO\n"); 18 printf("Error setting EO\n");
23 } else if (!isconsistent(c1)) { 19 } else if (!isconsistent(c1)) {

Generated with cgit - Back to sebastiano.tronto.net