(testName: string, tests: () => void)
| 137 | * @param tests |
| 138 | */ |
| 139 | export function describeMathWebGL2(testName: string, tests: () => void) { |
| 140 | describeWithFlags( |
| 141 | testName, { |
| 142 | predicate: testEnv => testEnv.backendName === 'webgl' && |
| 143 | (testEnv.flags == null || testEnv.flags['WEBGL_VERSION'] === 2) |
| 144 | |
| 145 | }, |
| 146 | () => { |
| 147 | tests(); |
| 148 | }); |
| 149 | } |
| 150 | |
| 151 | /** |
| 152 | * Check that a function only generates the expected number of new Tensors. |
no test coverage detected
searching dependent graphs…