Skip to content

Commit

Permalink
test(color): update rnd results
Browse files Browse the repository at this point in the history
- changed due to update in thi.ng/vectors
  • Loading branch information
postspectacular committed Nov 4, 2021
1 parent abf29c1 commit 824d3ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/color/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
parseCss,
rgb,
srgb,
} from "../src/index.js"
} from "../src/index.js";

group("color", {
srgb: () => {
Expand Down Expand Up @@ -77,12 +77,12 @@ group("color", {
assert.ok(
rgb
.random(new XsAdd(0xdecafbad))
.eqDelta(rgb(0.4379, 0.1376, 0.0615), 1e-3)
.eqDelta(rgb(0.274, 0.0615, 0.1377), 1e-3)
);
assert.ok(
labD50
.random(new XsAdd(0xdecafbad))
.eqDelta(labD50(0.4379, -0.5549, -0.994), 1e-3)
.eqDelta(labD50(0.274, -0.6866, -0.8375), 1e-3)
);
},

Expand Down

0 comments on commit 824d3ea

Please sign in to comment.