summaryrefslogtreecommitdiff
path: root/testdata/scad/misc
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/scad/misc')
-rw-r--r--testdata/scad/misc/echo-tests.scad14
1 files changed, 14 insertions, 0 deletions
diff --git a/testdata/scad/misc/echo-tests.scad b/testdata/scad/misc/echo-tests.scad
new file mode 100644
index 0000000..c42a67e
--- /dev/null
+++ b/testdata/scad/misc/echo-tests.scad
@@ -0,0 +1,14 @@
+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]);
+
+echo(str("string generated by str()"));
contact: Jan Huwald // Impressum