public class DualBoundConstraintsTest extends Object
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
DualBoundConstraintsTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkConstraint(double low,
double high,
boolean includeLow,
boolean includeHigh)
Create a DoubleBound for the given values and test it.
|
void |
testNumericalConstraints()
Test the DoubleBound Constraints.
|
public final void testNumericalConstraints()
public final void checkConstraint(double low, double high, boolean includeLow, boolean includeHigh)
low
- double; the low limit of the DoubleBoundhigh
- double; the high limit of the DoubleBoundincludeLow
- boolean; does the DoubleBound include the low limit valueincludeHigh
- boolean; does the DoubleBound include the high limit valueCopyright © 2014–2018 Delft University of Technology. All rights reserved.