Skip to content

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

chore(local_speech_tests): remove redundant synthetic viseme timeline tests

Steven Enamakeleff090e40886
diff --git a/crates/openhuman-core/src/voice/local_speech_tests.rs b/crates/openhuman-core/src/voice/local_speech_tests.rs
index 9db5e03d1e..0099a62fd4 100644
--- a/crates/openhuman-core/src/voice/local_speech_tests.rs
+++ b/crates/openhuman-core/src/voice/local_speech_tests.rs
@@ -36,17 +36,6 @@ async fn synthesize_piper_surfaces_binary_lookup_failure() {
);
}
-#[test]
-fn synthetic_viseme_timeline_yields_non_empty_frames() {
- let frames = synthetic_viseme_timeline("hello world");
- assert!(!frames.is_empty(), "must produce at least one frame");
- assert_eq!(frames[0].viseme, "sil", "leading silence");
- assert!(
- frames.last().unwrap().end_ms >= 80,
- "tail frame must extend past the leading silence"
- );
-}
-
#[test]
fn synthetic_viseme_timeline_handles_whitespace_only_text() {
// Whitespace-only input would normally be rejected upstream, but
@@ -57,13 +46,3 @@ fn synthetic_viseme_timeline_handles_whitespace_only_text() {
// chars().filter(non-ws).count() is 0 → min 1 → 80 ms total.
assert_eq!(frames[1].end_ms, 80);
}
-
-#[test]
-fn synthetic_viseme_timeline_scales_with_length() {
- let short = synthetic_viseme_timeline("hi");
- let long = synthetic_viseme_timeline("the quick brown fox jumps");
- assert!(
- long.last().unwrap().end_ms > short.last().unwrap().end_ms,
- "longer text should produce a longer timeline"
- );
-}