Skip to content

Commit 9899ad4

Browse files
committed
adjust tests for new storage option
1 parent 691d95b commit 9899ad4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cellular_raza-core/src/backend/chili/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
//! let history = storage_access.cells.load_all_elements()?;
144144
//! for (iteration, cells) in history {
145145
//! // ...
146-
//! # assert!(iteration > 0);
146+
//! # assert!(iteration >= 0);
147147
//! # assert_eq!(cells.len(), 10);
148148
//! # for (_, (cbox, _)) in cells {
149149
//! # if let CellIdentifier::Initial(key) = cbox.get_id() {

cellular_raza/tests/contact_reactions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ fn contact_diffusion_2d_numerical() -> Result<(), SimulationError> {
185185
ode_integrate::prelude::Rk4,
186186
)
187187
.unwrap();
188-
for (y1, (_, y2)) in results.iter().skip(1).zip(grids.iter()) {
188+
for (y1, (_, y2)) in results.iter().zip(grids.iter()) {
189189
let e = n_agents_side.pow(2) as f64 * diffusion_constant * dt / dx.powi(2);
190190
assert!((y1 - y2).norm() < e);
191191
}

0 commit comments

Comments
 (0)