Package org.djutils.math.functions
Class IntervalTest
java.lang.Object
org.djutils.math.functions.IntervalTest
Test the Interval class.
 
Copyright (c) 2024-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidTest the intersection method.voidTest the Interval class.voidverifyIntersection(org.djutils.math.functions.Interval<?> intersection, double low, boolean includesLow, double high, boolean includesHigh, Object payload) Verify all aspects of an Interval. 
- 
Constructor Details
- 
IntervalTest
public IntervalTest() 
 - 
 - 
Method Details
- 
intervalTest
Test the Interval class. - 
intersectionTest
Test the intersection method. - 
verifyIntersection
public void verifyIntersection(org.djutils.math.functions.Interval<?> intersection, double low, boolean includesLow, double high, boolean includesHigh, Object payload) Verify all aspects of an Interval.- Parameters:
 intersection- the Interval to verifylow- expected low boundaryincludesLow- is low boundary includedhigh- expected high boundaryincludesHigh- is high boundary includedpayload- the expected paylowd
 
 -