Commit 2cd432c
authored
Refine matrix multiplication tests to enable validation (#2308)
The `math_operators.mtlx` test for matrix multiplication was multiplying just identity matrices. If actually ran to produce an image, it would not show an error in matrices having swapped arguments.
In this PR I've changed the values so the result is `0.75, 0.25, 0.5, 1` when multiplies correctly, and `0.25, 0.75, 0.5, 1` when swapped.
I ran the tests with this `<input name="renderTestPaths" type="string" value="resources/Materials/TestSuite/stdlib/math" />`, before after the fix introduced in #2298.1 parent e0a9a25 commit 2cd432c
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | | - | |
683 | | - | |
| 682 | + | |
| 683 | + | |
684 | 684 | | |
685 | 685 | | |
686 | 686 | | |
| |||
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
693 | | - | |
694 | | - | |
| 693 | + | |
| 694 | + | |
695 | 695 | | |
696 | 696 | | |
697 | 697 | | |
| |||
0 commit comments