A ton of bug fixes

This commit is contained in:
2026-01-28 01:09:23 +01:00
parent a9ce70d292
commit 322885b908
13 changed files with 400 additions and 130 deletions

View File

@@ -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
}