Skip to content

Commit

Permalink
Merge pull request #18 from oiwn/dev
Browse files Browse the repository at this point in the history
trying to figure out why certain tests failing on github CI/CD
  • Loading branch information
oiwn authored Dec 19, 2023
2 parents 65cba7e + 7803f0d commit ea07ad0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/rain/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ mod tests {
fn run_loop_fps_gte_0() {
let mut stdout = Vec::new();
let mut digital_rain = get_default_rain();
let mut fps: f64 = 0.0;
// let mut fps: f64 = 0.0;
let fps = crate::common::run_loop(&mut stdout, &mut digital_rain, Some(10))
.unwrap();

/*
for _ in 0..10 {
let fps_res =
crate::common::run_loop(&mut stdout, &mut digital_rain, Some(10));
Expand All @@ -83,6 +87,7 @@ mod tests {
break;
}
}
*/
assert_eq!(fps > 0.0, true);
}
}

0 comments on commit ea07ad0

Please sign in to comment.