test: improved gradual testing for osu

This commit is contained in:
MaxOhn
2023-11-11 19:00:47 +01:00
parent afd1bdda9d
commit 037654c771
6 changed files with 49 additions and 85 deletions
+1 -3
View File
@@ -148,9 +148,7 @@ impl FlashlightEvaluator {
// * This is iterating backwards in time from the current object.
for i in 0..curr.idx.min(10) {
let curr_obj = if let Some(curr_obj) = previous(diff_objects, curr.idx, i) {
curr_obj
} else {
let Some(curr_obj) = previous(diff_objects, curr.idx, i) else {
break;
};