Class DistributionTest
java.lang.Object
org.opentrafficsim.core.distributions.DistributionTest
Test the Distribution class.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Peter Knoppers
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
Object used as generic parameter. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Test the Distribution class.void
Test the FrequencyAndObject sub class.void
Test hashCode and equals.
-
Constructor Details
-
DistributionTest
public DistributionTest()
-
-
Method Details
-
distributionTest
Test the Distribution class.- Throws:
ProbabilityException
- the test fails if this happens uncaught
-
testHashCodeAndEquals
Test hashCode and equals.- Throws:
ProbabilityException
- if that happens uncaught; this test has failed.
-
frequencyAndObjectTest
@Test public void frequencyAndObjectTest()Test the FrequencyAndObject sub class.
-