MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_parse_patience

Function test_parse_patience

atomic-core/src/diff/algorithm.rs:179–192  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected