Package org.djunits.unit.scale
Class ScaleTest
java.lang.Object
org.djunits.unit.scale.ScaleTest
public class ScaleTest extends Object
ScaleTest.java.
Copyright (c) 2019-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors Constructor Description ScaleTest()
-
Method Summary
Modifier and Type Method Description void
testOffsetLinearScale()
Test the OffsetScale for correctness and reciprocity.void
testScale()
Test the correct implementation of scales.
-
Constructor Details
-
ScaleTest
public ScaleTest()
-
-
Method Details
-
testScale
public void testScale() throws org.djunits.unit.util.UnitExceptionTest the correct implementation of scales.- Throws:
org.djunits.unit.util.UnitException
- on (unexpected) error
-
testOffsetLinearScale
public void testOffsetLinearScale() throws org.djunits.unit.util.UnitExceptionTest the OffsetScale for correctness and reciprocity.- Throws:
org.djunits.unit.util.UnitException
- on (unexpected) error
-