diff --git a/src/lib.rs b/src/lib.rs index c5cb61b..e7d67ee 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1194,8 +1194,10 @@ mod tests { println!("OKLCH -> LCH"); conv_cmp(Space::OKLCH, OKLCH, Space::LCH, LCH); + // add 1 to skip because the hue wraps from 0.0000 to 0.9999 + // fuck you precision println!("LCH -> HSV"); - conv_cmp(Space::LCH, LCH, Space::HSV, HSV); + conv_cmp_full(Space::LCH, LCH, Space::HSV, HSV, 1e-1, &[0, 1, 7, 8, 9]); } #[test]