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

Function test_module_exports_compare

atomic-core/src/record/workflow/mod.rs:192–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190
191 #[test]
192 fn test_module_exports_compare() {
193 use crate::change::Encoding;
194 use crate::diff::Algorithm;
195
196 let result = compare_content(b"old", b"new", Algorithm::Myers);
197 assert!(result.has_changes());
198
199 let enc = detect_encoding(b"hello");
200 assert_eq!(enc, Encoding::Utf8);
201 }
202
203 #[test]
204 fn test_workflow_integration() {

Callers

nothing calls this directly

Calls 2

compare_contentFunction · 0.70
detect_encodingFunction · 0.70

Tested by

no test coverage detected