WIP
This commit is contained in:
@@ -44,36 +44,6 @@ fn multiple_emits() {
|
||||
assert!(outputs[1].contains("sound/snare"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn subdivide_each() {
|
||||
let _outputs = expect_outputs(r#""kick" s 4 div each"#, 4);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn zoom_pop() {
|
||||
let outputs = expect_outputs(
|
||||
r#"0.0 0.5 zoom "kick" s emit pop 0.5 1.0 zoom "snare" s emit"#,
|
||||
2,
|
||||
);
|
||||
assert!(outputs[0].contains("sound/kick"));
|
||||
assert!(outputs[1].contains("sound/snare"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pop_root_fails() {
|
||||
expect_error("pop", "cannot pop root time context");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn subdivide_zero() {
|
||||
expect_error(r#""kick" s 0 div each"#, "subdivide count must be > 0");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn each_without_div() {
|
||||
expect_error(r#""kick" s each"#, "each requires subdivide first");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn envelope_params() {
|
||||
let outputs = expect_outputs(
|
||||
|
||||
Reference in New Issue
Block a user