testlib
testlib copied to clipboard
Commit d9b8609 breaks registerInteraction
The interactor seems always waiting for input, then exceeding time limit.
The change in commit d9b8d09 is to skip BOM in InStream. Then applying this to stdin results in the infinite waiting.
For the latest version, when using a terminal to run the interactor, one should input \n first to start the interaction procedure.
Haven't tested on any OJ yet.
UPD: Now it's ok.