Skip to content

Commit 42cbe9d

Browse files
test(color): update random test consts
1 parent 222aea1 commit 42cbe9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/color/test/main.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ test("random", () => {
106106
expect(
107107
rgb
108108
.random(new XsAdd(0xdecafbad))
109-
.eqDelta(rgb(0.274, 0.0615, 0.1377), 1e-3)
109+
.eqDelta(rgb(0.438, 0.137, 0.062), 1e-3)
110110
).toBeTrue();
111111
expect(
112112
labD50
113113
.random(new XsAdd(0xdecafbad))
114-
.eqDelta(labD50(0.274, -0.6866, -0.8375), 1e-3)
114+
.eqDelta(labD50(0.438, -0.555, -0.994), 1e-3)
115115
).toBeTrue();
116116
});
117117

0 commit comments

Comments
 (0)