All current tests need floatRange

This commit is contained in:
Lukas Klingsbo
2020-10-30 19:05:07 +01:00
committed by Lukas Klingsbo
parent 65f3828b23
commit 39f6e06abb
4 changed files with 9 additions and 10 deletions

View File

@ -25,7 +25,7 @@ void effectTest(
Vector2 expectedSize,
// Only use when checking a value that is not in
// the start, end or peak of an iteration
double floatRange = 0.0,
double floatRange = 0.000001,
}) async {
expectedPosition ??= Vector2.zero();
expectedSize ??= Vector2.all(100.0);