1 2 3 4 5 6 7
#[test] fn switch() { use crate::Switch; assert_eq!(Switch::On.to_string(), "on"); assert_eq!(Switch::Off.to_string(), "off"); }