No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
ice-lenor one more test for 180th meridian problem
Because -180 and 180 longitude is essentially the same, the distance (with the same latitude) should be zero.
Latest commit b71235e Nov 21, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is the source code for the tutorial about writing good unit-test suites.


See the tutorial here:

What to do with this

  1. Open the tutorial.
  2. Open and look at it while reading the tutorial.
  3. Run the tests.
  4. Think about what else you could test. I'm sure there is something I missed!
  5. Apply the best practices in your own project.
  6. Like the tutorial? Share, like, subscribe, say thanks. I'll be happy to know it!

How to run tests

I run this with Intellij IDEA and Java 1.8+.

  1. Download the source code.
  2. Open the folder with the code in Intellij IDEA.
  3. Open the file You'll see green "Run test" buttons next to line numbers. Press the one next to class GeometryHelpersTest and watch the whole test suite execute.