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:193–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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