list_operators
library
Classes
-
CloseToList<T extends num>
-
A class extending
Matcher that matches two numerical lists
within a certain precision.
-
EmptyIterable
-
Exception type indicating that an empty Iterable was encountered
when a non-empty one was expected.
-
IndexOutOfRange
-
ErrorType indicating that an element of an Iterable was accessed
using an invalid index.
-
LengthMismatch
-
Error type indicating that an expression involving Iterable arguments
could not be calculated because of a length mismatch.
Functions
-
closeToList<T extends num>(List<T> expected, num delta)
→ Matcher
-
Returns a matcher which returns
true if:
expected[i] - delta < actual[i] <= expected[i] + delta
for each index i.