remove polygon_shift, hide noncollinear_triple

modify glued circle to not produce duplicate points
This commit is contained in:
Adrian Mariano
2021-11-11 18:50:26 -05:00
parent ec87be11ec
commit 477dd55781
11 changed files with 61 additions and 89 deletions

View File

@@ -133,6 +133,9 @@ module test_list_rotate() {
assert(list_rotate([1,2,3,4,5],5) == [1,2,3,4,5]);
assert(list_rotate([1,2,3,4,5],6) == [2,3,4,5,1]);
assert(list_rotate([],3) == []);
path = [[1,1],[-1,1],[-1,-1],[1,-1]];
assert(list_rotate(path,1) == [[-1,1],[-1,-1],[1,-1],[1,1]]);
assert(list_rotate(path,2) == [[-1,-1],[1,-1],[1,1],[-1,1]]);
}
test_list_rotate();