Making block wand test more robusts

This commit is contained in:
Paul Masurel
2020-11-10 18:01:38 +09:00
parent 4dc268482f
commit 3e27d4c211

View File

@@ -268,7 +268,7 @@ mod tests {
}
fn nearly_equals(left: Score, right: Score) -> bool {
(left - right).abs() < 0.00001 * (left + right).abs()
(left - right).abs() < 0.0001 * (left + right).abs()
}
fn compute_checkpoints_for_each_pruning(