Package net.n1da.dev.euler.tests
Class SieveTests
- java.lang.Object
-
- net.n1da.dev.euler.tests.SieveTests
-
public class SieveTests extends java.lang.Object
Some tests for the prime producing classSieve
.- Since:
- 12.08.2016 18:21:55
- Author:
- Nico Danneberg
-
-
Constructor Summary
Constructors Constructor Description SieveTests()
-
Method Summary
Modifier and Type Method Description void
testFor()
Tests a "for" reading access of thesieve
without manual reseting.void
testForEach1()
Tests a "for-each" reading access of thesieve
.void
testForEach2()
Again, tests a "for-each" reading access of thesieve
without manual reseting.void
testWhile()
Tests a "while" reading access of thesieve
with manual reseting.
-
-
-
Method Detail
-
testForEach1
public void testForEach1()
Tests a "for-each" reading access of thesieve
.
-
testForEach2
public void testForEach2()
Again, tests a "for-each" reading access of thesieve
without manual reseting.
-
testWhile
public void testWhile()
Tests a "while" reading access of thesieve
with manual reseting.- See Also:
Sieve.reset()
-
testFor
public void testFor()
Tests a "for" reading access of thesieve
without manual reseting.
-
-