Class EventBasedWeightedTallyTest
java.lang.Object
org.djutils.stats.summarizers.event.EventBasedWeightedTallyTest
The EventBasedWeightedTallyTest tests the EventBasedWeightedTally.
Copyright (c) 2002-2024 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
Modifier and TypeClassDescription(package private) class
The listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test the event-based weighted tally for RemoteExceptions.void
Test the EventBasedWeightedTally.void
Test the EventBasedWeightedTally on a simple example.void
Test produced events by EventBasedWeightedTally.
-
Constructor Details
-
EventBasedWeightedTallyTest
public EventBasedWeightedTallyTest()
-
-
Method Details
-
testEventBasedWeightedTally
@Test public void testEventBasedWeightedTally()Test the EventBasedWeightedTally. -
testEventBasedWeightedTallySimple
@Test public void testEventBasedWeightedTallySimple()Test the EventBasedWeightedTally on a simple example. -
testWeightedTallyEventProduction
Test produced events by EventBasedWeightedTally.- Throws:
RemoteException
- on network error
-
testEventBasedTallyRemote
Test the event-based weighted tally for RemoteExceptions.- Throws:
RemoteException
- on network error for the event-based statistic
-