WIP simplify
This commit is contained in:
@@ -51,22 +51,6 @@ fn string_with_spaces() {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_count() {
|
||||
let f = run("[ 1 2 3 ]");
|
||||
assert_eq!(stack_int(&f), 3);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_empty() {
|
||||
expect_int("[ ]", 0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn list_preserves_values() {
|
||||
expect_int("[ 10 20 ] drop +", 30);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn conditional_based_on_step() {
|
||||
let ctx0 = ctx_with(|c| c.step = 0);
|
||||
|
||||
Reference in New Issue
Block a user