Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
dy committed Jan 22, 2024
1 parent 0f42c56 commit cdc33e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

11 changes: 6 additions & 5 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,10 +593,6 @@ test('uvec2 n = uvec2(1);', function (t) {
t.end()
})

test('texture coord', function (t) {
t.end()
})

// #56
// FIXME: prepr doesn't handle `/* #56 */`
test('varying mat3 m; m[0] = vec3(1., 1., 0.); m;', function (t) {
Expand All @@ -605,7 +601,12 @@ test('varying mat3 m; m[0] = vec3(1., 1., 0.); m;', function (t) {
t.deepEqual(evaluate(t.name), [1, 1, 0, 0, 1, 0, 0, 0, 1])
t.end()
})

test.skip('varying mat3 m[3]; m[1][0] = vec3(1., 1., 0.); m;', function (t) {
var compile = GLSL({ version: '300 es' })
console.log(clean(compile(t.name)))
// t.deepEqual(evaluate(t.name), [1, 1, 0, 0, 1, 0, 0, 0, 1])
t.end()
})

// `
// vec2 pos;
Expand Down

0 comments on commit cdc33e6

Please sign in to comment.