Closed cjprybol closed 7 years ago
Is it possible to test the printed values?
If it's printed using a show
method, you can capture the string as sprint(show, ...)
. Otherwise, you can print to a temp file then readchomp
the contents.
Thanks for that suggestion @ararslan, worked great!
For future reference, the printtable
tests were mistakenly removed by #26.
The old, now removed tests depended on dataset files we removed and was actually part of the benchmark tests. This test does the same in that it has to successfully run to pass tests, but it still doesn't check the output (same as the old tests). Is it possible to test the printed values?