testing/debug_utils
library
Functions
-
assertEqualsWithTolerance(double a, double b, double tolerance)
→ void
-
-
dumpIterable(Iterable it, {int maxItems = 10})
→ String
-
-
prettyPrint(Object? obj, {int indent = 0})
→ String
-
Testing/Debug: pretty-print, dump iterable, assert equals with tolerance, range, repeat, timed. Roadmap #366-375.
-
rangeDouble(double start, double end, double step)
→ List<double>
-
-
rangeInt(int start, int end, {int step = 1})
→ List<int>
-
-
repeatValue<T>(T value, int n)
→ List<T>
-
-
retryUntil(bool predicate(), {int maxAttempts = 10})
→ bool
-
-
timed(void fn())
→ Duration
-