one rule that helps a lot with testing is don’t mix logic and io. all classes that do IO should be v...
c
one rule that helps a lot with testing is don’t mix logic and io. all classes that do IO should be very simple and contain possibly no conditionals at all