Class EventBasedWeightedTallyTest
- java.lang.Object
-
- org.djutils.stats.summarizers.event.EventBasedWeightedTallyTest
-
public class EventBasedWeightedTallyTest extends Object
The EventBasedWeightedTallyTest tests the EventBasedWeightedTally.Copyright (c) 2002-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://simulation.tudelft.nl/dsol/3.0/license.html.
- Since:
- 1.5
- Author:
- Peter Jacobs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
EventBasedWeightedTallyTest.WeightedObservationEventListener
The listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness.
-
Constructor Summary
Constructors Constructor Description EventBasedWeightedTallyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testEventBasedTallyRemote()
Test the event-based weighted tally for RemoteExceptions.void
testEventBasedWeightedTally()
Test the EventBasedWeightedTally.void
testEventBasedWeightedTallySimple()
Test the EventBasedWeightedTally on a simple example.void
testWeightedTallyEventProduction()
Test produced events by EventBasedWeightedTally.
-
-
-
Method Detail
-
testEventBasedWeightedTally
public void testEventBasedWeightedTally()
Test the EventBasedWeightedTally.
-
testEventBasedWeightedTallySimple
public void testEventBasedWeightedTallySimple()
Test the EventBasedWeightedTally on a simple example.
-
testWeightedTallyEventProduction
public void testWeightedTallyEventProduction() throws RemoteException
Test produced events by EventBasedWeightedTally.- Throws:
RemoteException
- on network error
-
testEventBasedTallyRemote
public void testEventBasedTallyRemote() throws RemoteException
Test the event-based weighted tally for RemoteExceptions.- Throws:
RemoteException
- on network error for the event-based statistic
-
-