Module Name: othersrc
Committed By: dyoung
Date: Wed Sep 16 21:08:10 UTC 2015
Added Files:
othersrc/external/bsd/arfe/tt/tests/4: README expected-output input
match transform
Log Message:
Add a new test for tt.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/arfe/tt/tests/4/README \
othersrc/external/bsd/arfe/tt/tests/4/expected-output \
othersrc/external/bsd/arfe/tt/tests/4/input \
othersrc/external/bsd/arfe/tt/tests/4/match \
othersrc/external/bsd/arfe/tt/tests/4/transform
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: othersrc/external/bsd/arfe/tt/tests/4/README
diff -u /dev/null othersrc/external/bsd/arfe/tt/tests/4/README:1.1
--- /dev/null Wed Sep 16 21:08:10 2015
+++ othersrc/external/bsd/arfe/tt/tests/4/README Wed Sep 16 21:08:10 2015
@@ -0,0 +1,2 @@
+This test demonstrates how TT can marshal a vector dot product into some
+arithmetic that bc(1) understands.
Index: othersrc/external/bsd/arfe/tt/tests/4/expected-output
diff -u /dev/null othersrc/external/bsd/arfe/tt/tests/4/expected-output:1.1
--- /dev/null Wed Sep 16 21:08:10 2015
+++ othersrc/external/bsd/arfe/tt/tests/4/expected-output Wed Sep 16 21:08:10 2015
@@ -0,0 +1 @@
+5 * 2 + 10 * 3 + 0 * 4
Index: othersrc/external/bsd/arfe/tt/tests/4/input
diff -u /dev/null othersrc/external/bsd/arfe/tt/tests/4/input:1.1
--- /dev/null Wed Sep 16 21:08:10 2015
+++ othersrc/external/bsd/arfe/tt/tests/4/input Wed Sep 16 21:08:10 2015
@@ -0,0 +1 @@
+(5, 10, 0) . (2, 3, 4)
Index: othersrc/external/bsd/arfe/tt/tests/4/match
diff -u /dev/null othersrc/external/bsd/arfe/tt/tests/4/match:1.1
--- /dev/null Wed Sep 16 21:08:10 2015
+++ othersrc/external/bsd/arfe/tt/tests/4/match Wed Sep 16 21:08:10 2015
@@ -0,0 +1 @@
+[1 2 3] . [4 5 6]
Index: othersrc/external/bsd/arfe/tt/tests/4/transform
diff -u /dev/null othersrc/external/bsd/arfe/tt/tests/4/transform:1.1
--- /dev/null Wed Sep 16 21:08:10 2015
+++ othersrc/external/bsd/arfe/tt/tests/4/transform Wed Sep 16 21:08:10 2015
@@ -0,0 +1 @@
+1 * 4 + 2 * 5 + 3 * 6