summaryrefslogtreecommitdiffstats
path: root/debian/fireflies/fireflies-2.08/libgfx/tests/test1.sc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/fireflies/fireflies-2.08/libgfx/tests/test1.sc')
-rw-r--r--debian/fireflies/fireflies-2.08/libgfx/tests/test1.sc17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/fireflies/fireflies-2.08/libgfx/tests/test1.sc b/debian/fireflies/fireflies-2.08/libgfx/tests/test1.sc
new file mode 100644
index 00000000..489f8cb5
--- /dev/null
+++ b/debian/fireflies/fireflies-2.08/libgfx/tests/test1.sc
@@ -0,0 +1,17 @@
+# This is a test script meant to be fed to t-script. It is not meant as an
+# exhaustive test, but mainly as a demonstration.
+#
+# $Id: test1.sc 170 2000-09-06 21:43:25Z garland $
+#
+
+echo The following sum should be 15
+add 1 2 3 4 5
+
+echo
+echo The following average should be 3.5
+avg 3 8 2 1
+
+echo
+echo The following is the vector [1 0 0]
+vec3 1 0 0
+