Closed pdobacz closed 3 years ago
Another option: create a separate function for arguments handling that also receives an output handler.
From the main program call it with printfn
, from tests call it with a dummy handler.
refactor Program, so that the console output is returned instead of printed
On a second thought, returning the output and ignoring it during tests makes more sense.
After https://github.com/diffix/reference/pull/267 running the tests will print irrelevant lines of results:
do something about this.
Ideas:
Program
, so that the console output is returned instead of printed