(func, expected)
| 59 | } |
| 60 | |
| 61 | function testV3WithDest1(func, expected) { |
| 62 | expected = new Float32Array(expected); |
| 63 | let d = new Float32Array(3); |
| 64 | let c = func(v.slice(), d); |
| 65 | assertStrictEqual(c, d); |
| 66 | assertEqual(c, expected); |
| 67 | |
| 68 | d = v.slice(); |
| 69 | c = func(d, d); |
| 70 | elementsEqual(c, expected); |
| 71 | } |
| 72 | |
| 73 | function testV3WithAndWithoutDest(func, expected, b) { |
| 74 | if (Type === Float32Array) { |
no test coverage detected