()
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected