Class DistributionTest
java.lang.Object
org.opentrafficsim.core.distributions.DistributionTest
public class DistributionTest
extends java.lang.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
Modifier and Type Method Description void
distributionTest()
Test the Distribution class.void
frequencyAndObjectTest()
Test the FrequencyAndObject sub class.void
testHashCodeAndEquals()
Test hashCode and equals.
-
Constructor Details
-
DistributionTest
public DistributionTest()
-
-
Method Details
-
distributionTest
public final void distributionTest() throws org.opentrafficsim.core.distributions.ProbabilityExceptionTest the Distribution class.- Throws:
org.opentrafficsim.core.distributions.ProbabilityException
- the test fails if this happens uncaught
-
testHashCodeAndEquals
public void testHashCodeAndEquals() throws org.opentrafficsim.core.distributions.ProbabilityExceptionTest hashCode and equals.- Throws:
org.opentrafficsim.core.distributions.ProbabilityException
- if that happens uncaught; this test has failed.
-
frequencyAndObjectTest
public void frequencyAndObjectTest()Test the FrequencyAndObject sub class.
-