(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestArrayF32GetMatrix4(t *testing.T) { |
| 14 | a := ArrayF32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} |
| 15 | m := &Matrix4{} |
| 16 | pos := 0 |
| 17 | |
| 18 | a.GetMatrix4(pos, m) |
| 19 | |
| 20 | expected := Matrix4{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} |
| 21 | assert.Equal(t, expected, *m) |
| 22 | } |
nothing calls this directly
no test coverage detected