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

Function test_lis_empty

atomic-core/src/diff/patience.rs:538–542  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536
537 #[test]
538 fn test_lis_empty() {
539 let matches: Vec<UniqueMatch> = vec![];
540 let lis = longest_increasing_subsequence(&matches);
541 assert!(lis.is_empty());
542 }
543
544 #[test]
545 fn test_lis_single() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected