How to write a Unit Test?

I have a Java class. How can I unit test it?


In my case, I have class does a binary sum. It takes two byte[] arrays, sums them, and returns a new binary array.

Leave a Comment