All about temporal semantics
This commit is contained in:
@@ -37,13 +37,6 @@ fn emit_no_sound() {
|
||||
expect_error("emit", "no sound set");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn implicit_emit() {
|
||||
let outputs = expect_outputs(r#""kick" s 440 freq"#, 1);
|
||||
assert!(outputs[0].contains("sound/kick"));
|
||||
assert!(outputs[0].contains("freq/440"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn multiple_emits() {
|
||||
let outputs = expect_outputs(r#""kick" s emit "snare" s emit"#, 2);
|
||||
@@ -57,9 +50,9 @@ fn subdivide_each() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn window_pop() {
|
||||
fn zoom_pop() {
|
||||
let outputs = expect_outputs(
|
||||
r#"0.0 0.5 window "kick" s emit pop 0.5 1.0 window "snare" s emit"#,
|
||||
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"));
|
||||
|
||||
Reference in New Issue
Block a user