Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(voice): remove obsolete streaming tests

Steven Enamakel5bbddc0e1a26
diff --git a/crates/openhuman-core/src/voice/streaming_tests.rs b/crates/openhuman-core/src/voice/streaming_tests.rs
index ed92509c0f..b5cd437127 100644
--- a/crates/openhuman-core/src/voice/streaming_tests.rs
+++ b/crates/openhuman-core/src/voice/streaming_tests.rs
@@ -1,16 +1,5 @@
use super::*;
-#[test]
-fn decode_pcm16le_frame_rejects_odd_length() {
- assert!(decode_pcm16le_frame(&[1, 2, 3]).is_none());
-}
-
-#[test]
-fn decode_pcm16le_frame_decodes_samples() {
- let samples = decode_pcm16le_frame(&[0x01, 0x00, 0xff, 0xff]).expect("decode");
- assert_eq!(samples, vec![1, -1]);
-}
-
#[test]
fn append_stream_samples_keeps_full_audio_and_trims_window() {
let mut audio = vec![0; MAX_STREAM_BUFFER_SAMPLES - 2];
@@ -100,10 +89,3 @@ fn append_stream_samples_returns_false_when_full_audio_cap_reached() {
"sliding window must not receive new samples"
);
}
-
-#[test]
-fn is_stop_command_only_accepts_stop_type() {
- assert!(is_stop_command(r#"{"type":"stop"}"#));
- assert!(!is_stop_command(r#"{"type":"continue"}"#));
- assert!(!is_stop_command("not json"));
-}