JUnit is a unit testing framework for the Java language.
8
votes
4answers
965 views
Align Strings for Output
I wrote a class which can format input so that it is properly aligned.
I'm interested in all suggestions (regarding structure, usability, style, naming, comments, etc).
I'm especially wondering ...
21
votes
4answers
2k views
Just a lowly counter that turned out to be surprisingly complicated
While writing this review, I saw a need for a Counter object similar to Python's. It seemed like it would be easy to write such a class, but it turned out to be ...
3
votes
2answers
244 views
How can I optimize this code for unit testing
How can i optimize this code with less number of loops and return values for unit testing
...