A ton of bug fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use cagire::forth::{Dictionary, Forth, Rng, StepContext, Value, Variables};
|
||||
use rand::rngs::StdRng;
|
||||
use rand::SeedableRng;
|
||||
use cagire::forth::{Dictionary, Forth, Rng, StepContext, Value, Variables};
|
||||
use std::collections::HashMap;
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
@@ -17,6 +17,7 @@ pub fn default_ctx() -> StepContext {
|
||||
iter: 0,
|
||||
speed: 1.0,
|
||||
fill: false,
|
||||
nudge_secs: 0.0,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,4 +131,3 @@ pub fn expect_outputs(script: &str, count: usize) -> Vec<String> {
|
||||
assert_eq!(outputs.len(), count, "expected {} outputs", count);
|
||||
outputs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user