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

Function test_from_extension_images

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

Source from the content-addressed store, hash-verified

477
478 #[test]
479 fn test_from_extension_images() {
480 assert_eq!(Encoding::from_extension("png"), Some(Encoding::Binary));
481 assert_eq!(Encoding::from_extension("jpg"), Some(Encoding::Binary));
482 assert_eq!(Encoding::from_extension("PNG"), Some(Encoding::Binary));
483 }
484
485 #[test]
486 fn test_from_extension_archives() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected