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

Function test_name

atomic-core/src/change/encoding.rs:439–445  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437
438 #[test]
439 fn test_name() {
440 assert_eq!(Encoding::Utf8.name(), "UTF-8");
441 assert_eq!(Encoding::Utf16Le.name(), "UTF-16LE");
442 assert_eq!(Encoding::Utf16Be.name(), "UTF-16BE");
443 assert_eq!(Encoding::Latin1.name(), "ISO-8859-1");
444 assert_eq!(Encoding::Binary.name(), "binary");
445 }
446
447 #[test]
448 fn test_display() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected