From 9050cee2fb38eae0156f5693031f9c179a5958d9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 17 Apr 2020 17:44:14 +0200 Subject: [PATCH] adjusted tests --- devmods/tests.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devmods/tests.cpp b/devmods/tests.cpp index 4c05b5e3..3e345a65 100644 --- a/devmods/tests.cpp +++ b/devmods/tests.cpp @@ -58,10 +58,10 @@ int readArgs() { int cx = (co + 1) % WDIM; int cy = (co + 2) % WDIM; auto oxy = [&] (ld x, ld y, ld z) { hyperpoint h = Hypc; h[co] = z; h[cx] = x; if(WDIM == 3) h[cy] = y; return tC0(bt::normalized_at(h)); }; - ld shrunk_x = geo_dist(oxy(0,0,-1), oxy(.01,0,-1), iTable); - ld shrunk_y = geo_dist(oxy(0,0,-1), oxy(0,.01,-1), iTable); - ld expand_x = geo_dist(oxy(0,0,+1), oxy(.01,0,+1), iTable); - ld expand_y = geo_dist(oxy(0,0,+1), oxy(0,.01,+1), iTable); + ld shrunk_x = geo_dist(oxy(0,0,-1), oxy(.01,0,-1)); + ld shrunk_y = geo_dist(oxy(0,0,-1), oxy(0,.01,-1)); + ld expand_x = geo_dist(oxy(0,0,+1), oxy(.01,0,+1)); + ld expand_y = geo_dist(oxy(0,0,+1), oxy(0,.01,+1)); if(WDIM == 2) shrunk_y = expand_y = 1; println(hlog, "should be 1: ", lalign(10, (shrunk_x * shrunk_y * bt::area_expansion_rate()) / (expand_x * expand_y)), " : ", tie(shrunk_x, shrunk_y, expand_x, expand_y, aer)); if(geometry == gArnoldCat)