Class DistributionTest
- java.lang.Object
-
- org.opentrafficsim.core.distributions.DistributionTest
-
public class DistributionTest extends Object
Test the Distribution class.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Mar 4, 2016
- Author:
- Peter Knoppers
-
-
Constructor Summary
Constructors Constructor Description DistributionTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
distributionTest()
Test the Distribution class.void
frequencyAndObjectTest()
Test the FrequencyAndObject sub class.void
testHashCodeAndEquals()
Test hashCode and equals.
-
-
-
Method Detail
-
distributionTest
public final void distributionTest() throws ProbabilityException
Test the Distribution class.- Throws:
ProbabilityException
- the test fails if this happens uncaught
-
testHashCodeAndEquals
public void testHashCodeAndEquals() throws ProbabilityException
Test hashCode and equals.- Throws:
ProbabilityException
- if that happens uncaught; this test has failed.
-
frequencyAndObjectTest
public void frequencyAndObjectTest()
Test the FrequencyAndObject sub class.
-
-