Skip to content

Commit

Permalink
Updated test.js (eslint - This number literal will lose precision at …
Browse files Browse the repository at this point in the history
…runtime)
  • Loading branch information
TS committed Mar 19, 2024
1 parent 573eed6 commit f282f34
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,12 +448,13 @@ describe("tgen", function () {
assert.strictEqual(pixel1[3], 255);

assert.strictEqual(pixel2[0], 215.4040985107422);
assert.strictEqual(pixel2[1], 120.17605590820312);

assert.strictEqual(pixel2[2], 96.42085266113281);
assert.strictEqual(pixel2[3], 255);


assert.strictEqual(pixel3[0], 255);
assert.strictEqual(pixel3[1], 204.34658813476562);

assert.strictEqual(pixel3[2], 24.52901840209961);
assert.strictEqual(pixel3[3], 255);

Expand All @@ -464,7 +465,7 @@ describe("tgen", function () {

assert.strictEqual(pixel5[0], 228.55682373046875);
assert.strictEqual(pixel5[1], 112.35067749023438);
assert.strictEqual(pixel5[2], 116.86672973632812);

assert.strictEqual(pixel5[3], 255);

assert.strictEqual(pixel6[0], 255);
Expand Down

0 comments on commit f282f34

Please sign in to comment.