Skip to content

Commit

Permalink
inspect space in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jam10o-new committed Oct 18, 2023
1 parent 7c79f7f commit 4a2f486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/function_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2352,9 +2352,10 @@ mod tests {
#[test]
fn fuzz() {
let mut world = LocalSharedSpace::new();
let test_origin = vec![200, 21, 99, 0, 5, 33, 43];
let test_origin = vec![199, 21, 99, 0, 5, 33, 43];
let test_range = vec![57];
let test_chain = fc!(RunRegionDense, [test_origin], [test_range]);
let _res = exec_function_chain(&mut world, Box::new(test_chain));
dprintln!("{:?}",world.inner);
}
}
2 changes: 1 addition & 1 deletion src/space.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl ForeignInterface for BasicForeignInterface {

#[derive(Clone)]
pub struct LocalSharedSpace {
inner: HashMap<Point, Arc<Vec<AtomicU8Arc>>>,
pub inner: HashMap<Point, Arc<Vec<AtomicU8Arc>>>,
foreign: Option<Arc<dyn ForeignInterface>>,
}

Expand Down

0 comments on commit 4a2f486

Please sign in to comment.