class documentation
Match a sequence the elements of which sum to a value matched by another matcher.
:ivar sumMatcher: The matcher which must match the sum. :ivar zero: The zero value for the matched type.
Method | __init__ |
Undocumented |
Method | describe |
Describe the mismatch. |
Method | describe |
Describe this matcher for error messages. |
Instance Variable | sum |
Undocumented |
Instance Variable | zero |
Undocumented |
Method | _matches |
Determine whether the sum of the sequence is matched. |
Method | _sum |
Undocumented |