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

Function test_detect_encoding_binary

atomic-repository/src/semantic_regen.rs:866–869  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

864
865 #[test]
866 fn test_detect_encoding_binary() {
867 assert_eq!(detect_encoding(&[0x00, 0x01, 0x02]), Encoding::Binary);
868 assert_eq!(detect_encoding(&[0xFF, 0x00, 0xFE]), Encoding::Binary);
869 }
870
871 #[test]
872 fn test_detect_encoding_empty() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected