fastnsilver / primes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Primes Service

Given 2 numbers, a start value and an end value, calculate all the possible prime numbers between them.

This code puzzle contains a basic interface.

You should:

  • Implement the interface.
  • Author a unit test that covers code all paths. That is; its test methods will assert proper and accurate functioning of the implementation and verify that exceptional behavior is handled appropriately (in a manner that does not crash the program).

Bonus points for authoring a Mock test that covers the Controller implementation.

About

License:Apache License 2.0


Languages

Language:Java 100.0%