diff options
author | Andrew Plumb <andrew@plumb.org> | 2012-02-15 02:22:48 (GMT) |
---|---|---|
committer | Andrew Plumb <andrew@plumb.org> | 2012-02-15 02:22:48 (GMT) |
commit | 5d6a259a8b64810e3e6bae6c3da9e018e9d8927f (patch) | |
tree | 0b88417db5bef0b7afb9683bde228e263c9f7eac /tests/regression | |
parent | 44ff85399011ea1bd3eb812ce97d312ccc4f32eb (diff) |
Added vector math support.
Added vector dot-product, matrix*vec, vec*matrix and matrix*matrix
support.
Diffstat (limited to 'tests/regression')
-rw-r--r-- | tests/regression/echotest/vector-values-expected.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/regression/echotest/vector-values-expected.txt b/tests/regression/echotest/vector-values-expected.txt new file mode 100644 index 0000000..7654892 --- /dev/null +++ b/tests/regression/echotest/vector-values-expected.txt @@ -0,0 +1,10 @@ +ECHO: "Testing vector dot product: 14" +ECHO: " Bounds check: undef" +ECHO: "Testing matrix * vector: [3, 2]" +ECHO: " Bounds check: undef" +ECHO: "Testing vector * matrix: [2, -1, 0]" +ECHO: " Bounds check: undef" +ECHO: "Testing id matrix * id matrix: [[1, 0], [0, 1]]" +ECHO: "Testing asymmetric matrix * matrix: [[2, 1], [-1, 0]]" +ECHO: "Testing alternate asymmetric matrix * matrix: [[1, 0, 1], [0, 1, -1], [1, 1, 0]]" +ECHO: " Bounds check: undef" |