Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves testing methods
checkTreeEquals*
out of Node
and into `Node…
…Subject`. All call sites are updated and tests for the code are moved as well. This results in better error messages because now `NodeSubject` has more context about the assertion failure. It also eliminates some ugly `@VisbleForTesting` annotations. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=238346642
- Loading branch information
Showing
16 changed files
with
253 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.