Class DistributionTest

java.lang.Object
org.opentrafficsim.core.distributions.DistributionTest

public class DistributionTest extends Object
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
  • Constructor Details

    • DistributionTest

      public DistributionTest()
  • Method Details

    • distributionTest

      @Test public final void distributionTest() throws ProbabilityException
      Test the Distribution class.
      Throws:
      ProbabilityException - the test fails if this happens uncaught
    • testHashCodeAndEquals

      @Test public void testHashCodeAndEquals() throws ProbabilityException
      Test hashCode and equals.
      Throws:
      ProbabilityException - if that happens uncaught; this test has failed.
    • frequencyAndObjectTest

      @Test public void frequencyAndObjectTest()
      Test the FrequencyAndObject sub class.