|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbb.science.Bins.UnitTest
public static class Bins.UnitTest
See the Overview page of the project's javadocs for a general description of this unit test class.
Constructor Summary | |
---|---|
Bins.UnitTest()
|
Method Summary | |
---|---|
private int |
lengthRandom(Random random)
|
void |
test_all_shouldPass1()
Tests a very simple case of a small data sample put into 2 bins, where the expected results are trivial to calculate. |
void |
test_all_shouldPass2()
Tests the percent histogram example cited in the class javadocs . |
void |
test_all_shouldPass3()
Tests many random scenarios by checking that Bins can at least be constructed without Exception. |
void |
test_whiteNoise()
|
private double |
valueRandom(double base,
Random random)
|
private double[] |
valuesRandom(Random random)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bins.UnitTest()
Method Detail |
---|
public void test_all_shouldPass1() throws Exception
Exception
public void test_all_shouldPass2() throws Exception
class javadocs
.
Exception
public void test_all_shouldPass3() throws Exception
Exception
private double[] valuesRandom(Random random)
private int lengthRandom(Random random)
private double valueRandom(double base, Random random)
public void test_whiteNoise() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |