summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-08 12:53:47 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-08 12:53:47 (GMT)
commit25edffcff493ef868024f38a46e29bac8b27bec3 (patch)
tree0b701e7cb502a041ba30681f9ecd074be618ccc8 /testdata
parentcf178f66e4c7f0a0d389fc163ca367d5db55ddd3 (diff)
Added echotest and echo test cases
Diffstat (limited to 'testdata')
-rw-r--r--testdata/scad/features/echo-tests.scad12
1 files changed, 12 insertions, 0 deletions
diff --git a/testdata/scad/features/echo-tests.scad b/testdata/scad/features/echo-tests.scad
new file mode 100644
index 0000000..b07d444
--- /dev/null
+++ b/testdata/scad/features/echo-tests.scad
@@ -0,0 +1,12 @@
+echo(undef);
+echo("string");
+s = "stringvar";
+echo(s);
+echo(a = 1, b = 2.0, true, c = false);
+v = [1, "vecstr", 2.34, false];
+echo(v);
+r = [1:2:10];
+echo(r);
+
+echo(vec = [1,2,3]);
+echo(range = [0:2]);
contact: Jan Huwald // Impressum