Skip to content

Commit

Permalink
Increase default conv_cmp test precision
Browse files Browse the repository at this point in the history
  • Loading branch information
Beinsezii committed Dec 29, 2023
1 parent f5e837e commit 94880cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ mod tests {
reference_space: Space,
reference: &[[f32; 3]],
) {
conv_cmp_full(input_space, input, reference_space, reference, 1e-1, &[0, 7])
conv_cmp_full(input_space, input, reference_space, reference, 1e-2, &[0, 7])
}

#[test]
Expand Down Expand Up @@ -1188,7 +1188,7 @@ mod tests {
conv_cmp_full(Space::HSV, HSV, Space::JZCZHZ, JZCZHZ, 2e-1, &[0, 7]);

println!("JZCZHZ -> OKLCH");
conv_cmp(Space::JZCZHZ, JZCZHZ, Space::OKLCH, OKLCH);
conv_cmp_full(Space::JZCZHZ, JZCZHZ, Space::OKLCH, OKLCH, 1e-1, &[0, 7]);

println!("OKLCH -> LCH");
conv_cmp(Space::OKLCH, OKLCH, Space::LCH, LCH);
Expand Down

0 comments on commit 94880cd

Please sign in to comment.