ph-color 0.1.1

Fixed-point no_std color math for embedded targets: conversion, transfer functions, matrices, gain, and interpolation
Documentation
//! Compile-fail coverage of the illegal operations in `docs/NUMERICS.md`.

#[test]
fn compile_fail_illegal_ops() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/compile_fail/*.rs");
}

#[cfg(not(feature = "oklab"))]
#[test]
fn compile_fail_oklab_requires_feature() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/compile_fail_oklab_off/*.rs");
}

#[cfg(feature = "f32")]
#[test]
fn compile_fail_f32_type_state() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/compile_fail_f32/*.rs");
}

#[test]
fn compile_pass_open_colorspace() {
    let t = trybuild::TestCases::new();
    t.pass("tests/compile_pass/*.rs");
}