- <init>
- assertEqualBasedOn
Asserts that the trees are equal, based on the given BiPredicate.
- assertEqualMappedBy
Asserts that the trees are equal, by calling Objects#equals(Object,Object) on
the results of both ma
- createAssertionError
Returns an AssertionError containing the contents of the two trees. Attempts to
throw a JUnit Compar
- createComparisonFailure
Attempts to create an instance of junit's ComparisonFailure exception using
reflection.
- decorateErrorsWith
Decorates errors thrown by any assertions with the given functions.
- equals
Recursively determines equality between two trees.
- isEqualBasedOn
Returns true if the two trees are equal, based on the given BiPredicate.
- isEqualMappedBy
Returns true if the two trees are equal, by calling
Objects#equals(Object,Object) on the results of
- mapToSame
Maps both sides of the comparison to the same type, for easier comparison and
assertions.
- of
Creates a SameType from the given two TreeNodes of the same type.