Remove emit_n tests (feature not implemented)

This commit is contained in:
2026-01-31 17:37:00 +01:00
parent 73ca0ff096
commit 8e09fd106e

View File

@@ -145,25 +145,6 @@ fn cycle_with_sounds() {
}
}
#[test]
fn emit_n_basic() {
let outputs = expect_outputs(r#""kick" s 4 .!"#, 4);
let sounds = get_sounds(&outputs);
assert_eq!(sounds, vec!["kick", "kick", "kick", "kick"]);
}
#[test]
fn emit_n_zero() {
let outputs = expect_outputs(r#""kick" s 0 .!"#, 0);
assert!(outputs.is_empty());
}
#[test]
fn emit_n_negative_error() {
let f = forth();
let result = f.evaluate(r#""kick" s -1 .!"#, &default_ctx());
assert!(result.is_err());
}
#[test]
fn at_single_delta() {