()
| 193 | |
| 194 | #[test] |
| 195 | fn test_encode_wav_sample_rate() { |
| 196 | let wav = encode_wav_bytes(&[0.0], 48000); |
| 197 | let sr = u32::from_le_bytes([wav[24], wav[25], wav[26], wav[27]]); |
| 198 | assert_eq!(sr, 48000); |
| 199 | } |
| 200 | |
| 201 | #[test] |
| 202 | fn test_encode_wav_clamps() { |
nothing calls this directly
no test coverage detected