()
| 177 | |
| 178 | #[test] |
| 179 | fn test_parse_patience() { |
| 180 | assert_eq!( |
| 181 | "patience".parse::<Algorithm>().unwrap(), |
| 182 | Algorithm::Patience |
| 183 | ); |
| 184 | assert_eq!( |
| 185 | "Patience".parse::<Algorithm>().unwrap(), |
| 186 | Algorithm::Patience |
| 187 | ); |
| 188 | assert_eq!( |
| 189 | "PATIENCE".parse::<Algorithm>().unwrap(), |
| 190 | Algorithm::Patience |
| 191 | ); |
| 192 | } |
| 193 | |
| 194 | #[test] |
| 195 | fn test_parse_error() { |
nothing calls this directly
no outgoing calls
no test coverage detected