use common_consts::fv; #[test] fn test() { let values = vec![ fv::NEVER, fv::ALMOST_NEVER, fv::RARELY, fv::OCCASIONALLY, fv::SOMETIMES, fv::OFTEN, fv::ALMOST, fv::ALWAYS, ]; assert!(values.windows(2).all(|w| w[0] < w[1])); }