Tag printing with debug to infer purity
Add non-debug purity unittest
Correct typo
Use debug printTree() instead
Remove debug calls to printTree from within printTree itself
Tag unittests at global scope as pure
Merge pull request #2617 from nordlow/pure-rbtree

Tag printing in rbtree.check() with debug to enable purity inference