genie-toolkit icon indicating copy to clipboard operation
genie-toolkit copied to clipboard

Add unit tests for all AST manipulation methods

Open gcampax opened this issue 4 years ago • 0 comments

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.

gcampax avatar Jul 06 '20 04:07 gcampax