Skip to content

Commit

Permalink
comment unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
Siel committed May 7, 2024
1 parent cd70b29 commit 8be1ba4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions src/simulator/mod.rs
Expand Up @@ -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()),
Expand Down
28 changes: 14 additions & 14 deletions src/tests/mod.rs
Expand Up @@ -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
// // }
// }

0 comments on commit 8be1ba4

Please sign in to comment.