(testName: string, tests: () => void)
| 97 | * @param tests |
| 98 | */ |
| 99 | export function describeMathCPUAndWebGL2(testName: string, tests: () => void) { |
| 100 | describeWithFlags( |
| 101 | testName, { |
| 102 | predicate: testEnv => |
| 103 | (testEnv.flags == null || testEnv.flags['WEBGL_VERSION'] === 2) |
| 104 | }, |
| 105 | () => { |
| 106 | tests(); |
| 107 | }); |
| 108 | } |
| 109 | |
| 110 | /** |
| 111 | * Describe tests to be run on CPU only. |
no test coverage detected
searching dependent graphs…