pipecircuit::value_wrapper! {
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct Count(u16);
}
#[test]
fn value_wrapper_constructs_and_extracts_its_private_value() {
const COUNT: Count = Count::new(7);
const VALUE: u16 = COUNT.value();
assert_eq!(COUNT, Count::new(7));
assert_eq!(VALUE, 7);
}