genie-toolkit
genie-toolkit copied to clipboard
Add unit tests for all AST manipulation methods
AST manipulation methods are tricky and full of corner cases. Testing by generating sentences is not exhaustive, unless we run at high depth and high pruning size, which takes too long. Instead, we should write unit tests, calling the methods directly, and verifying that they do the right thing.