Remove emit_n tests (feature not implemented)
This commit is contained in:
@@ -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]
|
#[test]
|
||||||
fn at_single_delta() {
|
fn at_single_delta() {
|
||||||
|
|||||||
Reference in New Issue
Block a user