]> gitweb.factorcode.org Git - factor.git/blob - extra/jamshred/oint/oint-tests.factor
3b52e4b1b69ecb2ff9eb1dd8c43d5287f459eaee
[factor.git] / extra / jamshred / oint / oint-tests.factor
1 USING: jamshred.oint tools.test ;
2 IN: jamshred.oint.tests
3
4 { { 0 -1 -1 } } [ { 0 1 -1 } { 0 -1 0 } reflect ] unit-test
5 { { 0 1 0 } } [ { 1 1 0 } { 1 0 0 } proj-perp ] unit-test
6 { { 1 0 0 } } [ { 1 1 0 } { 0 1 0 } proj-perp ] unit-test
7 { { 1/2 -1/2 0 } } [ { 1 0 0 } { 1 1 0 } proj-perp ] unit-test
8 { { -1/2 1/2 0 } } [ { 0 1 0 } { 1 1 0 } proj-perp ] unit-test