My journey with unit testing in Java so far

These are three of the units in the ring of Eisenstein integers (white dots with white labels). A little off-topic, at least at the beginning.

I am a very recent to the unit testing bandwagon. Perhaps it seemed way too corporate for my taste when I first read about it. But now I’ve come to see that it can be useful even for someone working alone on a hobby Java project.

The first time I read about unit testing, I thought it was kind of pointless and stupid. You write a program that does one thing, and then you write another…