OK, so here's what I'm trying to do :
- A portion of my program outputs text to console
- For unittest purposes, I'd like to be able to get that output into a string, so that I can use it in an
assert
check.
How is that possible?
NOTE:
Guys, sorry if I mislead you. I'm looking for a solution in D.