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