From 787fe457981525fca1349833d4070508cb3acabb Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Tue, 5 Oct 2021 17:18:43 -0400 Subject: [PATCH] added test --- tests/test_attachments.scad | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/test_attachments.scad diff --git a/tests/test_attachments.scad b/tests/test_attachments.scad new file mode 100644 index 0000000..4985cd2 --- /dev/null +++ b/tests/test_attachments.scad @@ -0,0 +1,8 @@ +include<../std.scad> + + +module test__standard_anchors() { + assert_equal(_standard_anchors(), [[-1,-1,1],[0,-1,1],[1,-1,1],[-1,0,1],[0,0,1],[1,0,1],[-1,1,1],[0,1,1],[1,1,1],[-1,-1,0],[0,-1,0],[1,-1,0],[-1,0,0],[0,0,0],[1,0,0],[-1,1,0],[0,1,0],[1,1,0],[-1,-1,-1],[0,-1,-1],[1,-1,-1],[-1,0,-1],[0,0,-1],[1,0,-1],[-1,1,-1],[0,1,-1],[1,1,-1]]); +} +test__standard_anchors(); +