summaryrefslogtreecommitdiff
path: root/testdata/scad/misc/use-tests-template.scad
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/scad/misc/use-tests-template.scad')
-rw-r--r--testdata/scad/misc/use-tests-template.scad57
1 files changed, 0 insertions, 57 deletions
diff --git a/testdata/scad/misc/use-tests-template.scad b/testdata/scad/misc/use-tests-template.scad
deleted file mode 100644
index 24591f8..0000000
--- a/testdata/scad/misc/use-tests-template.scad
+++ /dev/null
@@ -1,57 +0,0 @@
-//Test that the entire path is pushed onto the stack upto the last '/'
-use <sub1/sub2/sub3/sub4/use-test2.scad>
-
-//Test that a non existent path/file doesn't screw things up
-use <non/existent/path/non-file>
-
-//Test with empty path
-use <use-test5.scad>
-
-//Test without preceding space
-use<use-test5.scad>
-
-//Test with other strange character that is allowed
-use>>>>><use-test5.scad>
-
-//Test that filenames with spaces work
-use <use test6.scad>
-
-//Test with empty file
-use<test/>
-
-//Test with empty path and file
-use </>
-
-//Test with absolute path
-include <@CMAKE_SOURCE_DIR@/../testdata/scad/misc/sub2/test7.scad>
-
-// Test simple MCAD library
-include <MCAD/teardrop.scad>
-
-// Test MCAD library which includes another file
-include <MCAD/math.scad>
-
-// Test MCAD library which uses another file
-include <MCAD/servos.scad>
-
-module test1()
-{
- test2();
- // test3() and test4() are not directly included and thus not imported into
- // this scope
- translate([4,0,0]) test3();
- translate([4,-2,0]) test4();
- translate([-2,0,0]) test5();
- translate([-2,-2,0]) test6();
- translate([0,2,0]) test7();
-
- // test2_variable won't be visible
- translate([0,-2,0]) sphere(test2_variable, $fn=16);
-
- // MCAD
- translate([0,-4,0]) teardrop(0.3, 1.5, 90);
- translate([-2,-4,0]) cube([deg(0.5)/20,0.5,0.5], center=true);
- translate([2,-4,-0.5]) scale(0.05) alignds420([0,0,0], [0,0,0]);
-}
-
-test1();
contact: Jan Huwald // Impressum