From 8be1ba4f4af026f69a89664541642180577a96e1 Mon Sep 17 00:00:00 2001 From: "Julian D. Otalvaro" Date: Tue, 7 May 2024 13:18:17 +0100 Subject: [PATCH] comment unused test --- src/simulator/mod.rs | 1 + src/tests/mod.rs | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/src/simulator/mod.rs b/src/simulator/mod.rs index f0974041..a16cedf3 100644 --- a/src/simulator/mod.rs +++ b/src/simulator/mod.rs @@ -71,6 +71,7 @@ impl Equation { } // What should we use as the initial state for the next occasion? let covariates = occasion.get_covariates().unwrap(); + //TODO: set the right initial condition when occasion > 1 let mut x = V::zeros(self.get_nstates()); (init)( &V::from_vec(support_point.clone()), diff --git a/src/tests/mod.rs b/src/tests/mod.rs index 674d10eb..62fd1ca9 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -33,17 +33,17 @@ fn scaled_sobol() { ) } -#[test] -fn read_test_datafile() { - unimplemented!(); - // let scenarios = datafile::parse(&"src/tests/test.csv".to_string()); - // if let Ok(scenarios) = scenarios { - // assert_eq!(scenarios.len(), 20); - // // assert_eq!(scenarios.last().unwrap().id, "20"); - // // assert_eq!( - // // scenarios.last().unwrap().obs_times, - // // [120.0, 120.77, 121.75, 125.67, 128.67, 143.67] - // // ); - // //TODO: Uncomment this - // } -} +// #[test] +// fn read_test_datafile() { +// unimplemented!(); +// // let scenarios = datafile::parse(&"src/tests/test.csv".to_string()); +// // if let Ok(scenarios) = scenarios { +// // assert_eq!(scenarios.len(), 20); +// // // assert_eq!(scenarios.last().unwrap().id, "20"); +// // // assert_eq!( +// // // scenarios.last().unwrap().obs_times, +// // // [120.0, 120.77, 121.75, 125.67, 128.67, 143.67] +// // // ); +// // //TODO: Uncomment this +// // } +// }