(mode )
| 101 | } |
| 102 | |
| 103 | function nestedVarDeclareTest(mode ) { |
| 104 | const gpu = new GPU({ mode }); |
| 105 | const f = gpu.createKernel(nestedVarDeclareFunction, { |
| 106 | output : [1] |
| 107 | }); |
| 108 | |
| 109 | assert.equal(f(), 200, 'basic return function test'); |
| 110 | gpu.destroy(); |
| 111 | } |
| 112 | |
| 113 | test('Issue #31 - nestedVarDeclare auto', () => { |
| 114 | nestedVarDeclareTest(null); |
no test coverage detected
searching dependent graphs…