Index
All Classes and Interfaces|All Packages|Serialized Form
A
- absFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.abs(double[])absolute value, including negative zero andNaN. - AbsMatrix1x1Test - Class in org.djunits.vecmat.d1
-
Tests for
AbsMatrix1x1. - AbsMatrix1x1Test() - Constructor for class org.djunits.vecmat.d1.AbsMatrix1x1Test
- AbsMatrix2x2Test - Class in org.djunits.vecmat.d2
-
Tests for
AbsMatrix2x2. - AbsMatrix2x2Test() - Constructor for class org.djunits.vecmat.d2.AbsMatrix2x2Test
- AbsMatrix3x3Test - Class in org.djunits.vecmat.d3
-
Tests for
AbsMatrix3x3. - AbsMatrix3x3Test() - Constructor for class org.djunits.vecmat.d3.AbsMatrix3x3Test
- AbsMatrixNxMTest - Class in org.djunits.vecmat.dnxm
-
Tests for
AbsMatrixNxM. - AbsMatrixNxMTest() - Constructor for class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
- AbsMatrixNxNTest - Class in org.djunits.vecmat.dn
-
Tests for
AbsMatrixNxN. - AbsMatrixNxNTest() - Constructor for class org.djunits.vecmat.dn.AbsMatrixNxNTest
- absNegate() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies abs and negate.
- AbsoluteExampleQuantityAQxyz(AbsQuantityTest.RelativeExampleQuantityAQxyz, AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference) - Constructor for class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz
- AbsorbedDoseTest - Class in org.djunits.quantity
-
AbsorbedDoseTest tests the AbsorbedDose quantity class.
- AbsorbedDoseTest() - Constructor for class org.djunits.quantity.AbsorbedDoseTest
- AbsorbedDoseUnitTest - Class in org.djunits.unit.units
-
Test for AbsorbedDose.Unit class.
- AbsorbedDoseUnitTest() - Constructor for class org.djunits.unit.units.AbsorbedDoseUnitTest
- AbsQuantityTableTest - Class in org.djunits.vecmat.table
-
Tests for
AbsQuantityTable. - AbsQuantityTableTest() - Constructor for class org.djunits.vecmat.table.AbsQuantityTableTest
- AbsQuantityTest - Class in org.djunits.quantity.def
- AbsQuantityTest() - Constructor for class org.djunits.quantity.def.AbsQuantityTest
- AbsQuantityTest.AbsoluteExampleQuantityAQxyz - Class in org.djunits.quantity.def
-
Absolute quantity class for test.
- AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference - Class in org.djunits.quantity.def
-
The reference class.
- AbsQuantityTest.RelativeExampleQuantityAQxyz - Class in org.djunits.quantity.def
-
Relative quantity class for test.
- AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit - Class in org.djunits.quantity.def
-
The unit.
- AbstractLinearUnitTest<U extends Unit<U,
?>> - Class in org.djunits.unit.units -
Test for AbstractLinearUnit.
- AbstractLinearUnitTest() - Constructor for class org.djunits.unit.units.AbstractLinearUnitTest
- AbstractUnitTest<U extends Unit<U,
?>> - Class in org.djunits.unit.units -
Test for AbstractUnit.
- AbstractUnitTest() - Constructor for class org.djunits.unit.units.AbstractUnitTest
- AbsVector1Test - Class in org.djunits.vecmat.d1
-
Tests for
AbsVector1. - AbsVector1Test() - Constructor for class org.djunits.vecmat.d1.AbsVector1Test
- AbsVector2Test - Class in org.djunits.vecmat.d2
-
Tests for
AbsVector2. - AbsVector2Test() - Constructor for class org.djunits.vecmat.d2.AbsVector2Test
- AbsVector3Test - Class in org.djunits.vecmat.d3
-
Tests for
AbsVector3. - AbsVector3Test() - Constructor for class org.djunits.vecmat.d3.AbsVector3Test
- AbsVectorNTest - Class in org.djunits.vecmat.dn
-
Tests for
AbsVectorN. - AbsVectorNTest() - Constructor for class org.djunits.vecmat.dn.AbsVectorNTest
- AccelerationTest - Class in org.djunits.quantity
-
AccelerationTest tests the Acceleration quantity class.
- AccelerationTest() - Constructor for class org.djunits.quantity.AccelerationTest
- AccelerationUnitTest - Class in org.djunits.unit.units
-
Test for Acceleration.Unit.
- AccelerationUnitTest() - Constructor for class org.djunits.unit.units.AccelerationUnitTest
- add(AbsQuantityTest.RelativeExampleQuantityAQxyz) - Method in class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz
- addArraysFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.add(double[], double[])on a happy path and length/Null preconditions. - addIntoProcedural() - Method in class org.djunits.util.ArrayMathTest
- addScalarFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.add(double[], double)adds a constant to each element and returns a new array. - addSubtractRelative() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies
AbsQuantity.add(Quantity)andAbsQuantity.subtract(Quantity)adjust the inner relative quantity while preserving the absolute reference and the display unit. - adjugateVariants() - Method in class org.djunits.util.MatrixMathTest
-
Verifies adjugate for n=1,2,3 and n≥4 via the identity A·adj(A) = det(A)·I.
- AmountOfSubstanceTest - Class in org.djunits.quantity
-
AmountOfSubstanceTest tests the AmountOfSubstance quantity class.
- AmountOfSubstanceTest() - Constructor for class org.djunits.quantity.AmountOfSubstanceTest
- AmountOfSubstanceUnitTest - Class in org.djunits.unit.units
-
Test for AmountOfSubstance.Unit.
- AmountOfSubstanceUnitTest() - Constructor for class org.djunits.unit.units.AmountOfSubstanceUnitTest
- AngleTest - Class in org.djunits.quantity
-
AngleTest tests the Angle quantity class.
- AngleTest() - Constructor for class org.djunits.quantity.AngleTest
- AngleUnitTest - Class in org.djunits.unit.units
-
Angle.Unit test code.
- AngleUnitTest() - Constructor for class org.djunits.unit.units.AngleUnitTest
- AngularAccelerationTest - Class in org.djunits.quantity
-
AngularAccelerationTest tests the AngularAcceleration quantity class.
- AngularAccelerationTest() - Constructor for class org.djunits.quantity.AngularAccelerationTest
- AngularVelocityTest - Class in org.djunits.quantity
-
AngularVelocityTest tests the AngularVelocity quantity class.
- AngularVelocityTest() - Constructor for class org.djunits.quantity.AngularVelocityTest
- ArealObjectDensityTest - Class in org.djunits.quantity
-
ArealObjectDensityTest tests the ArealObjectDensity quantity class.
- ArealObjectDensityTest() - Constructor for class org.djunits.quantity.ArealObjectDensityTest
- ArealObjectDensityUnitTest - Class in org.djunits.unit.units
-
ArealObjectDensity.Unit test.
- ArealObjectDensityUnitTest() - Constructor for class org.djunits.unit.units.ArealObjectDensityUnitTest
- AreaTest - Class in org.djunits.quantity
-
AreaTest tests the Area quantity class.
- AreaTest() - Constructor for class org.djunits.quantity.AreaTest
- AreaUnitTest - Class in org.djunits.unit.units
-
Area.Unit test.
- AreaUnitTest() - Constructor for class org.djunits.unit.units.AreaUnitTest
- arithmeticProducesCorrectSIValues() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies
Quantity.multiply(Quantity),Quantity.divide(Quantity), andQuantity.reciprocal()when applied toSIQuantityproduce correct SI values (the unit algebra is validated inSIUnittests). - ArrayMathTest - Class in org.djunits.util
-
Unit tests for
ArrayMath. - ArrayMathTest() - Constructor for class org.djunits.util.ArrayMathTest
- asKnownQuantity() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies
Quantity.as(org.djunits.unit.Unit)converts to a correctly typed quantity while preserving the SI value and replacing the display unit with the requested unit. - axpyFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies fused AXPY
ArrayMath.axpy(double[], double[], double)and preconditions. - axpyIntoProcedural() - Method in class org.djunits.util.ArrayMathTest
B
- BASE - Static variable in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
-
BASE.
- BASE - Static variable in class org.djunits.unit.UnitTest.Jerk.Unit
-
Base jerk unit (identity scale).
C
- CatalyticActivityTest - Class in org.djunits.quantity
-
CatalyticActivityTest tests the CatalyticActivity quantity class.
- CatalyticActivityTest() - Constructor for class org.djunits.quantity.CatalyticActivityTest
- CatalyticActivityUnitTest - Class in org.djunits.unit.units
-
CatalyticActivity.Unit test.
- CatalyticActivityUnitTest() - Constructor for class org.djunits.unit.units.CatalyticActivityUnitTest
- checkUnitNameAndAbbreviation(U, String, String) - Method in class org.djunits.unit.units.AbstractUnitTest
-
Verify the localization of the name and abbreviation.
- checkUnitRatioNameAndAbbreviation(U, double, double, String, String) - Method in class org.djunits.unit.units.AbstractLinearUnitTest
-
Verify one length conversion factor to standard unit and the localization of the name and abbreviation.
- checkUnitValueNameAndAbbreviation(Angle.Unit, double, double, String, String) - Method in class org.djunits.unit.units.AngleUnitTest
-
Verify one length conversion factor to standard unit and the localization of the name and abbreviation.
- cleanup() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Unregisters created references from the per-class registry to avoid cross-test pollution.
- compareToContract() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies the
Comparablecontract forQuantity.compareTo(Quantity). - comparisons() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies pairwise comparisons (lt/le/gt/ge/eq/ne) based on SI values.
- comparisonsAndReferenceConstraints() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies that comparisons (lt/le/gt/ge) and
Comparable.compareTo(Object)require identical references, otherwise anIllegalArgumentExceptionis thrown. - ConstantsTest - Class in org.djunits.util
-
Unit tests for
Constants. - ConstantsTest() - Constructor for class org.djunits.util.ConstantsTest
- constructorIsNotInstantiableButReachableViaReflection() - Method in class org.djunits.util.ArrayMathTest
-
Covers the private no-arg constructor of
ArrayMathto achieve 100% coverage of the class. - constructorNullDisplayUnitThrows() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies that the
Quantityconstructor rejects anulldisplay unit. - constructorNulls() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies that the constructor of
Position(as a representative ofAbsQuantity) rejectsnullfor either the relative quantity or the reference. - constructorWithSIUnit() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies the primary constructor
new SIQuantity(double, SIUnit). - constructorWithStringAbbreviation() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies the string-abbreviation constructor
new SIQuantity(double, String). - conversions() - Method in class org.djunits.unit.units.AbsorbedDoseUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.AccelerationUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.AmountOfSubstanceUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.AngleUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ArealObjectDensityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.AreaUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.CatalyticActivityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.DensityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.DimensionlessUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.DurationUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ElectricalCapacitanceUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ElectricalConductanceUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ElectricalInductanceUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ElectricalResistanceUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ElectricChargeUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ElectricCurrentUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ElectricPotentialUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.EnergyUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.EquivalentDoseUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.FlowMassUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.FlowVolumeUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.ForceUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.FrequencyUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.IlluminanceUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.LengthUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.LinearDensityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.LinearObjectDensityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.LuminousFluxUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.LuminousIntensityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.MagneticFluxDensityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.MagneticFluxUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.MassUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.PowerUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.PressureUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.RadioActivityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.SolidAngleUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.SpeedUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.TemperatureUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.TorqueUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.VolumetricObjectDensityUnitTest
-
Verify conversion factors, English names and abbreviations.
- conversions() - Method in class org.djunits.unit.units.VolumeUnitTest
-
Verify conversion factors, English names and abbreviations.
- copyConstructor() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies the copy constructor
new SIQuantity(SIQuantity)produces an equal instance: same SI value and same display unit. - createAbsorbedDoseUnit() - Method in class org.djunits.unit.units.AbsorbedDoseUnitTest
-
Verify that we can create our own AbsorbedDose unit.
- createAccelerationUnit() - Method in class org.djunits.unit.units.AccelerationUnitTest
-
Verify that we can create our own Acceleration unit.
- createAmountOfSubstanceUnit() - Method in class org.djunits.unit.units.AmountOfSubstanceUnitTest
-
Verify that we can create our own AmountOfSubstance unit.
- createAngleUnit() - Method in class org.djunits.unit.units.AngleUnitTest
-
Verify that we can create our own angle unit.
- createAreaUnit() - Method in class org.djunits.unit.units.AreaUnitTest
-
Verify that we can create our own Area unit.
- createCatalyticActivityUnit() - Method in class org.djunits.unit.units.CatalyticActivityUnitTest
-
Verify that we can create our own CatalyticActivity unit.
- createDensityUnit() - Method in class org.djunits.unit.units.DensityUnitTest
-
Verify that we can create our own density unit.
- createDurationUnit() - Method in class org.djunits.unit.units.DurationUnitTest
-
Verify that we can create our own duration unit.
- createElectricalCapacitanceUnit() - Method in class org.djunits.unit.units.ElectricalCapacitanceUnitTest
-
Verify that we can create our own ElectricalCapacitance unit.
- createElectricalConductanceUnit() - Method in class org.djunits.unit.units.ElectricalConductanceUnitTest
-
Verify that we can create our own ElectricalConductance unit.
- createElectricalInductanceUnit() - Method in class org.djunits.unit.units.ElectricalInductanceUnitTest
-
Verify that we can create our own ElectricalInductance unit.
- createElectricalResistanceUnit() - Method in class org.djunits.unit.units.ElectricalResistanceUnitTest
-
Verify that we can create our own electrical resistance unit.
- createElectricChargeUnit() - Method in class org.djunits.unit.units.ElectricChargeUnitTest
-
Verify that we can create our own ElectricCharge unit.
- createElectricCurrentUnit() - Method in class org.djunits.unit.units.ElectricCurrentUnitTest
-
Verify that we can create our own ElectricCurrent unit.
- createElectricPotentialUnit() - Method in class org.djunits.unit.units.ElectricPotentialUnitTest
-
Verify that we can create our own electrical potential unit.
- createEnergyUnit() - Method in class org.djunits.unit.units.EnergyUnitTest
-
Verify that we can create our own Energy unit.
- createEquivalentDoseUnit() - Method in class org.djunits.unit.units.EquivalentDoseUnitTest
-
Verify that we can create our own EquivalentDose unit.
- createFlowMassUnit() - Method in class org.djunits.unit.units.FlowMassUnitTest
-
Verify that we can create our own FlowMass unit.
- createFLowVolumeUnit() - Method in class org.djunits.unit.units.FlowVolumeUnitTest
-
Verify that we can create our own FlowVolume unit.
- createForceUnit() - Method in class org.djunits.unit.units.ForceUnitTest
-
Verify that we can create our own Force unit.
- createFrequencyUnit() - Method in class org.djunits.unit.units.FrequencyUnitTest
-
Verify that we can create our own Frequency unit.
- createIlluminanceUnit() - Method in class org.djunits.unit.units.IlluminanceUnitTest
-
Verify that we can create our own Illuminance unit.
- createLengthUnit() - Method in class org.djunits.unit.units.LengthUnitTest
-
Verify that we can create our own length unit.
- createLinearDensityUnit() - Method in class org.djunits.unit.units.ArealObjectDensityUnitTest
-
Verify that we can create our own LinearDensity unit.
- createLinearDensityUnit() - Method in class org.djunits.unit.units.LinearDensityUnitTest
-
Verify that we can create our own LinearDensity unit.
- createLinearDensityUnit() - Method in class org.djunits.unit.units.LinearObjectDensityUnitTest
-
Verify that we can create our own LinearDensity unit.
- createLinearDensityUnit() - Method in class org.djunits.unit.units.VolumetricObjectDensityUnitTest
-
Verify that we can create our own LinearDensity unit.
- createLuminousFluxUnit() - Method in class org.djunits.unit.units.LuminousFluxUnitTest
-
Verify that we can create our own LuminousFlux unit.
- createLuminousIntensityUnit() - Method in class org.djunits.unit.units.LuminousIntensityUnitTest
-
Verify that we can create our own LuminousIntensity unit.
- createMagneticFluxDensityUnit() - Method in class org.djunits.unit.units.MagneticFluxDensityUnitTest
-
Verify that we can create our own MagneticFluxDensity unit.
- createMagneticFluxUnit() - Method in class org.djunits.unit.units.MagneticFluxUnitTest
-
Verify that we can create our own MagneticFlux unit.
- createMassUnit() - Method in class org.djunits.unit.units.MassUnitTest
-
Verify that we can create our own mass unit.
- createPowerUnitUnit() - Method in class org.djunits.unit.units.PowerUnitTest
-
Verify that we can create our own power unit.
- createPressureUnit() - Method in class org.djunits.unit.units.PressureUnitTest
-
Verify that we can create our own pressure unit.
- createRadioActivityUnit() - Method in class org.djunits.unit.units.RadioActivityUnitTest
-
Verify that we can create our own RadioActivity unit.
- createSolidAngleUnit() - Method in class org.djunits.unit.units.SolidAngleUnitTest
-
Verify that we can create our own angle unit.
- createSpeedUnit() - Method in class org.djunits.unit.units.SpeedUnitTest
-
Verify that we can create our own speed unit.
- createTempteratureUnit() - Method in class org.djunits.unit.units.TemperatureUnitTest
-
Verify that we can create our own temperature unit; i.c.
- createTorqueUnit() - Method in class org.djunits.unit.units.TorqueUnitTest
-
Verify that we can create our own Torque unit.
- createUnitless() - Method in class org.djunits.unit.units.DimensionlessUnitTest
-
Verify that we can create our own Dimensionless unit.
- createVolumeUnit() - Method in class org.djunits.unit.units.VolumeUnitTest
-
Verify that we can create our own power unit.
D
- DataGridSiTest - Class in org.djunits.vecmat.storage
-
DataGridSiTest tests equals, hashCode, equals(obj, eps) for the different DataGridSi classes.
Copyright (c) 2025-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. - DataGridSiTest() - Constructor for class org.djunits.vecmat.storage.DataGridSiTest
- DEFAULT - Static variable in class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz.Unit
- DEFAULT - Static variable in class org.djunits.unit.UnitsTest.QUnit
- DenseDoubleDataSiTest - Class in org.djunits.vecmat.storage
-
Unit tests for
DenseDoubleDataSi. - DenseDoubleDataSiTest() - Constructor for class org.djunits.vecmat.storage.DenseDoubleDataSiTest
- DenseFloatDataSiTest - Class in org.djunits.vecmat.storage
-
Unit tests for
DenseFloatDataSi. - DenseFloatDataSiTest() - Constructor for class org.djunits.vecmat.storage.DenseFloatDataSiTest
- DensityTest - Class in org.djunits.quantity
-
DensityTest tests the Density quantity class.
- DensityTest() - Constructor for class org.djunits.quantity.DensityTest
- DensityUnitTest - Class in org.djunits.unit.units
-
Density.Unit test.
- DensityUnitTest() - Constructor for class org.djunits.unit.units.DensityUnitTest
- deriveUnit(String, String, String, double, UnitSystem) - Method in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
- deriveUnit(String, String, String, double, UnitSystem) - Method in class org.djunits.quantity.def.PerMass.Unit
- deriveUnit(String, String, String, double, UnitSystem) - Method in class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz.Unit
- deriveUnit(String, String, String, double, UnitSystem) - Method in class org.djunits.unit.UnitTest.Jerk.Unit
- deriveUnit(String, String, String, double, UnitSystem) - Method in class org.djunits.unit.UnitTest.PerMass.Unit
- determinantVariants() - Method in class org.djunits.util.MatrixMathTest
-
Verifies determinant for n=1,2,3 (closed-form) and n≥4 (LU path).
- dimensionlessMathConstants() - Method in class org.djunits.util.ConstantsTest
-
Verifies PI, TAU, E, PHI are
DimensionlesswithUnitless.BASEand correct values. - DimensionlessTest - Class in org.djunits.quantity
-
DimensionlessTest tests the Dimensionless quantity class and the Unitless unit.
- DimensionlessTest() - Constructor for class org.djunits.quantity.DimensionlessTest
- DimensionlessUnitTest - Class in org.djunits.unit.units
-
Unitless class test (Unitless is the unit of Dimensionless).
- DimensionlessUnitTest() - Constructor for class org.djunits.unit.units.DimensionlessUnitTest
- DirectionTest - Class in org.djunits.quantity
-
DirectionTest tests the Direction absolute quantity class and its Reference handling.
- DirectionTest() - Constructor for class org.djunits.quantity.DirectionTest
- displayUnitAccessors() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies that
AbsQuantity.getDisplayUnit()andAbsQuantity.setDisplayUnit(org.djunits.unit.Unit)delegate correctly to the inner relative quantity and that the setter is fluent. - displayUnitAccessors() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies that
Quantity.getDisplayUnit()andQuantity.setDisplayUnit(org.djunits.unit.Unit)round-trip correctly and that the setter is fluent (returnsthis). - displayUnitFluentAndEquality() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies fluent
Quantity.setDisplayUnit(org.djunits.unit.Unit)returnsthisand that equals/hashCode include both SI bits and the display unit. - divideFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.divide(double[], double[])element-wise division, including division by zero and NaN. - DoubleSparseValueTest - Class in org.djunits.vecmat.storage
-
Unit tests for
DoubleSparseValue. - DoubleSparseValueTest() - Constructor for class org.djunits.vecmat.storage.DoubleSparseValueTest
- DurationTest - Class in org.djunits.quantity
-
DurationTest tests the Duration quantity class.
- DurationTest() - Constructor for class org.djunits.quantity.DurationTest
- DurationUnitTest - Class in org.djunits.unit.units
-
Duration.Unit test.
- DurationUnitTest() - Constructor for class org.djunits.unit.units.DurationUnitTest
E
- ElectricalCapacitanceTest - Class in org.djunits.quantity
-
ElectricalCapacitanceTest tests the ElectricalCapacitance quantity class.
- ElectricalCapacitanceTest() - Constructor for class org.djunits.quantity.ElectricalCapacitanceTest
- ElectricalCapacitanceUnitTest - Class in org.djunits.unit.units
-
ElectricalCapacitance.Unit test.
- ElectricalCapacitanceUnitTest() - Constructor for class org.djunits.unit.units.ElectricalCapacitanceUnitTest
- ElectricalConductanceTest - Class in org.djunits.quantity
-
ElectricalConductanceTest tests the ElectricalConductance quantity class.
- ElectricalConductanceTest() - Constructor for class org.djunits.quantity.ElectricalConductanceTest
- ElectricalConductanceUnitTest - Class in org.djunits.unit.units
-
ElectricalConductance.Unit test.
- ElectricalConductanceUnitTest() - Constructor for class org.djunits.unit.units.ElectricalConductanceUnitTest
- ElectricalInductanceTest - Class in org.djunits.quantity
-
ElectricalInductanceTest tests the ElectricalInductance quantity class.
- ElectricalInductanceTest() - Constructor for class org.djunits.quantity.ElectricalInductanceTest
- ElectricalInductanceUnitTest - Class in org.djunits.unit.units
-
ElectricalInductance.Unit test.
- ElectricalInductanceUnitTest() - Constructor for class org.djunits.unit.units.ElectricalInductanceUnitTest
- ElectricalResistanceTest - Class in org.djunits.quantity
-
ElectricalResistanceTest tests the ElectricalResistance quantity class.
- ElectricalResistanceTest() - Constructor for class org.djunits.quantity.ElectricalResistanceTest
- ElectricalResistanceUnitTest - Class in org.djunits.unit.units
-
ElectricalResistance.Unit test.
- ElectricalResistanceUnitTest() - Constructor for class org.djunits.unit.units.ElectricalResistanceUnitTest
- ElectricChargeTest - Class in org.djunits.quantity
-
ElectricChargeTest tests the ElectricCharge quantity class.
- ElectricChargeTest() - Constructor for class org.djunits.quantity.ElectricChargeTest
- ElectricChargeUnitTest - Class in org.djunits.unit.units
-
ElectricCharge.Unit test.
- ElectricChargeUnitTest() - Constructor for class org.djunits.unit.units.ElectricChargeUnitTest
- ElectricCurrentTest - Class in org.djunits.quantity
-
ElectricCurrentTest tests the ElectricCurrent quantity class.
- ElectricCurrentTest() - Constructor for class org.djunits.quantity.ElectricCurrentTest
- ElectricCurrentUnitTest - Class in org.djunits.unit.units
-
ElectricCurrent.Unit test.
- ElectricCurrentUnitTest() - Constructor for class org.djunits.unit.units.ElectricCurrentUnitTest
- ElectricPotentialTest - Class in org.djunits.quantity
-
ElectricPotentialTest tests the ElectricPotential quantity class.
- ElectricPotentialTest() - Constructor for class org.djunits.quantity.ElectricPotentialTest
- ElectricPotentialUnitTest - Class in org.djunits.unit.units
-
ElectricalPotential.Unit test.
- ElectricPotentialUnitTest() - Constructor for class org.djunits.unit.units.ElectricPotentialUnitTest
- EnergyTest - Class in org.djunits.quantity
-
EnergyTest tests the Energy quantity class.
- EnergyTest() - Constructor for class org.djunits.quantity.EnergyTest
- EnergyUnitTest - Class in org.djunits.unit.units
-
Energy.Unit test.
- EnergyUnitTest() - Constructor for class org.djunits.unit.units.EnergyUnitTest
- equalsHashCode() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies
equals/hashCodeconsider both the inner relative quantity and the reference identity. - equalsHashCode() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies
equals/hashCodeconsider the SI value (bits) and the display unit. - equalsHashCode() - Method in class org.djunits.quantity.def.ReferenceTest
-
Verifies
equals,hashCode,toString(),containsId(). - EquivalentDoseTest - Class in org.djunits.quantity
-
EquivalentDoseTest tests the EquivalentDose quantity class.
- EquivalentDoseTest() - Constructor for class org.djunits.quantity.EquivalentDoseTest
- EquivalentDoseUnitTest - Class in org.djunits.unit.units
-
EquivalentDose.Unit test.
- EquivalentDoseUnitTest() - Constructor for class org.djunits.unit.units.EquivalentDoseUnitTest
- ExampleQuantityAQxyz(double, QuantityTest.ExampleQuantityAQxyz.Unit) - Constructor for class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz
F
- FloatSparseValueTest - Class in org.djunits.vecmat.storage
-
Tests for
FloatSparseValue. - FloatSparseValueTest() - Constructor for class org.djunits.vecmat.storage.FloatSparseValueTest
- FlowMassTest - Class in org.djunits.quantity
-
FlowMassTest tests the FlowMass quantity class.
- FlowMassTest() - Constructor for class org.djunits.quantity.FlowMassTest
- FlowMassUnitTest - Class in org.djunits.unit.units
-
FlowMass.Unit test.
- FlowMassUnitTest() - Constructor for class org.djunits.unit.units.FlowMassUnitTest
- FlowVolumeTest - Class in org.djunits.quantity
-
FlowVolumeTest tests the FlowVolume quantity class.
- FlowVolumeTest() - Constructor for class org.djunits.quantity.FlowVolumeTest
- FlowVolumeUnitTest - Class in org.djunits.unit.units
-
FlowVolume.Unit test.
- FlowVolumeUnitTest() - Constructor for class org.djunits.unit.units.FlowVolumeUnitTest
- ForceTest - Class in org.djunits.quantity
-
ForceTest tests the Force quantity class.
- ForceTest() - Constructor for class org.djunits.quantity.ForceTest
- ForceUnitTest - Class in org.djunits.unit.units
-
Force.Unit test.
- ForceUnitTest() - Constructor for class org.djunits.unit.units.ForceUnitTest
- FrequencyTest - Class in org.djunits.quantity
-
FrequencyTest tests the Frequency quantity class.
- FrequencyTest() - Constructor for class org.djunits.quantity.FrequencyTest
- FrequencyUnitTest - Class in org.djunits.unit.units
-
Frequency.Unit test.
- FrequencyUnitTest() - Constructor for class org.djunits.unit.units.FrequencyUnitTest
G
- getBaseUnit() - Method in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
- getBaseUnit() - Method in class org.djunits.quantity.def.PerMass.Unit
- getBaseUnit() - Method in class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz.Unit
- getBaseUnit() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getBaseUnit() - Method in class org.djunits.unit.UnitsTest.QUnit
- getBaseUnit() - Method in class org.djunits.unit.UnitTest.Jerk.Unit
- getBaseUnit() - Method in class org.djunits.unit.UnitTest.PerMass.Unit
- getDisplayAbbreviation() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getDisplayAbbreviation() - Method in class org.djunits.unit.UnitsTest.QUnit
- getDisplayUnit() - Method in class org.djunits.quantity.def.PerMass
- getId() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getId() - Method in class org.djunits.unit.UnitsTest.QUnit
- getInUnitCurrentDisplay() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies
Quantity.getInUnit()using the current display unit. - getInUnitExplicitTarget() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies
Quantity.getInUnit(org.djunits.unit.Unit)for explicit target units. - getInUnitVariants() - Method in class org.djunits.quantity.def.AbsQuantityTest
- getMultiplicationFactorTo(U, U) - Method in class org.djunits.unit.units.AbstractLinearUnitTest
- getName() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getName() - Method in class org.djunits.unit.UnitsTest.QUnit
- getNameFormatsPrettyForAbsoluteQuantity() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Tests
AbsQuantity.getName()usingPositionas the representative absolute quantity. - getNameFormatsPrettyForQuantityAndSIQuantity() - Method in class org.djunits.quantity.def.QuantityTest
-
Tests
Quantity.getName()for both the simple case (single leading uppercase, e.g. - getNameIsNonEmpty() - Method in class org.djunits.quantity.def.QuantityTest
-
Confirms that the pretty/localized name as returned by
Quantity.getName()is non-empty. - getNamePrettyFormatting() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies the "pretty name" behavior inherited from
Quantity.getName()for the class nameSIQuantity(camel case with internal capitals). - getScale() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getScale() - Method in class org.djunits.unit.UnitsTest.QUnit
- getSiPrefix() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getSiPrefix() - Method in class org.djunits.unit.UnitsTest.QUnit
- getStoredDisplayAbbreviation() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getStoredDisplayAbbreviation() - Method in class org.djunits.unit.UnitsTest.QUnit
- getStoredName() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getStoredName() - Method in class org.djunits.unit.UnitsTest.QUnit
- getStoredTextualAbbreviation() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getStoredTextualAbbreviation() - Method in class org.djunits.unit.UnitsTest.QUnit
- getTextualAbbreviation() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getTextualAbbreviation() - Method in class org.djunits.unit.UnitsTest.QUnit
- getUnitSystem() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- getUnitSystem() - Method in class org.djunits.unit.UnitsTest.QUnit
- gravityConstant() - Method in class org.djunits.unit.units.AccelerationUnitTest
-
Check that g is about 9.8 m/s/s.
I
- IlluminanceTest - Class in org.djunits.quantity
-
IlluminanceTest tests the Illuminance quantity class.
- IlluminanceTest() - Constructor for class org.djunits.quantity.IlluminanceTest
- IlluminanceUnitTest - Class in org.djunits.unit.units
-
Illuminance.Unit test.
- IlluminanceUnitTest() - Constructor for class org.djunits.unit.units.IlluminanceUnitTest
- instantiate(AbsQuantityTest.RelativeExampleQuantityAQxyz) - Method in class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference
- instantiate(AbsQuantityTest.RelativeExampleQuantityAQxyz, AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference) - Method in class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz
- instantiateSi(double) - Method in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz
- instantiateSi(double) - Method in class org.djunits.quantity.def.PerMass
- instantiateSi(double) - Method in class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz
- instantiateSi(double) - Method in class org.djunits.unit.UnitsTest.Q
- instantiateSi(double) - Method in class org.djunits.unit.UnitTest.Jerk
- instantiateSi(double) - Method in class org.djunits.unit.UnitTest.PerMass
- instantiateUsesCurrentDisplayUnit() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies
SIQuantity.instantiateSi(double)creates a new instance with the same display unit as the receiver at call time (i.e., reflects the currentgetDisplayUnit()value). - interpolateAbsolute() - Method in class org.djunits.quantity.def.AbsQuantityTest
- interpolateQuantity() - Method in class org.djunits.quantity.def.QuantityTest
- inverseVariants() - Method in class org.djunits.util.MatrixMathTest
-
Verifies inverse for n=1,2,3 and n≥4, including singular matrix exceptions.
- isIdentityScale() - Method in class org.djunits.unit.scale.ScaleTest
-
isIdentityScale() checks across scale classes.
J
- Jerk(double, UnitTest.Jerk.Unit) - Constructor for class org.djunits.unit.UnitTest.Jerk
-
Construct a Jerk quantity with a unit.
L
- LengthTest - Class in org.djunits.quantity
-
LengthTest tests the Length quantity class.
- LengthTest() - Constructor for class org.djunits.quantity.LengthTest
- LengthUnitTest - Class in org.djunits.unit.units
-
Length.Unit test.
- LengthUnitTest() - Constructor for class org.djunits.unit.units.LengthUnitTest
- LinearDensityTest - Class in org.djunits.quantity
-
LinearDensityTest tests the LinearDensity quantity class.
- LinearDensityTest() - Constructor for class org.djunits.quantity.LinearDensityTest
- LinearDensityUnitTest - Class in org.djunits.unit.units
-
LinearDensity.Unit test.
- LinearDensityUnitTest() - Constructor for class org.djunits.unit.units.LinearDensityUnitTest
- LinearObjectDensityTest - Class in org.djunits.quantity
-
LinearObjectDensityTest tests the LinearObjectDensity quantity class.
- LinearObjectDensityTest() - Constructor for class org.djunits.quantity.LinearObjectDensityTest
- LinearObjectDensityUnitTest - Class in org.djunits.unit.units
-
LinearObjectDensity.Unit test.
- LinearObjectDensityUnitTest() - Constructor for class org.djunits.unit.units.LinearObjectDensityUnitTest
- LocaleFilesTest - Class in org.djunits.unit
-
LocaleFilesTest validates all locale property bundles for formatting rules and ensures abbreviations resolve in their locale.
- LocaleFilesTest() - Constructor for class org.djunits.unit.LocaleFilesTest
- luminousEfficacyDimensionality() - Method in class org.djunits.util.ConstantsTest
-
Verifies luminous efficacy dimensionality after fixing the unit string in Constants to include m^2 in the denominator.
- LuminousFluxTest - Class in org.djunits.quantity
-
LuminousFluxTest tests the LuminousFlux quantity class.
- LuminousFluxTest() - Constructor for class org.djunits.quantity.LuminousFluxTest
- LuminousFluxUnitTest - Class in org.djunits.unit.units
-
LuminousFlux.Unit test.
- LuminousFluxUnitTest() - Constructor for class org.djunits.unit.units.LuminousFluxUnitTest
- LuminousIntensityTest - Class in org.djunits.quantity
-
LuminousIntensityTest tests the LuminousIntensity quantity class.
- LuminousIntensityTest() - Constructor for class org.djunits.quantity.LuminousIntensityTest
- LuminousIntensityUnitTest - Class in org.djunits.unit.units
-
LuminousIntensity.Unit test.
- LuminousIntensityUnitTest() - Constructor for class org.djunits.unit.units.LuminousIntensityUnitTest
M
- MagneticFluxDensityTest - Class in org.djunits.quantity
-
MagneticFluxDensityTest tests the MagneticFluxDensity quantity class.
- MagneticFluxDensityTest() - Constructor for class org.djunits.quantity.MagneticFluxDensityTest
- MagneticFluxDensityUnitTest - Class in org.djunits.unit.units
-
MagneticFluxDensity.Unit test.
- MagneticFluxDensityUnitTest() - Constructor for class org.djunits.unit.units.MagneticFluxDensityUnitTest
- MagneticFluxTest - Class in org.djunits.quantity
-
MagneticFluxTest tests the MagneticFlux quantity class.
- MagneticFluxTest() - Constructor for class org.djunits.quantity.MagneticFluxTest
- MagneticFluxUnitTest - Class in org.djunits.unit.units
-
MagneticFlux.Unit test.
- MagneticFluxUnitTest() - Constructor for class org.djunits.unit.units.MagneticFluxUnitTest
- MassTest - Class in org.djunits.quantity
-
MassTest tests the Mass quantity class.
- MassTest() - Constructor for class org.djunits.quantity.MassTest
- MassUnitTest - Class in org.djunits.unit.units
-
Mass.Unit test.
- MassUnitTest() - Constructor for class org.djunits.unit.units.MassUnitTest
- Math2Test - Class in org.djunits.util
-
Unit tests for
Math2. - Math2Test() - Constructor for class org.djunits.util.Math2Test
- Matrix1x1Test - Class in org.djunits.vecmat.d1
- Matrix1x1Test() - Constructor for class org.djunits.vecmat.d1.Matrix1x1Test
- Matrix2x2Test - Class in org.djunits.vecmat.d2
- Matrix2x2Test() - Constructor for class org.djunits.vecmat.d2.Matrix2x2Test
- Matrix3x3Test - Class in org.djunits.vecmat.d3
- Matrix3x3Test() - Constructor for class org.djunits.vecmat.d3.Matrix3x3Test
- MatrixFormatTest - Class in org.djunits.formatter
-
Tests all
MatrixFormatsettings and their effect on matrix formatting. - MatrixFormatTest() - Constructor for class org.djunits.formatter.MatrixFormatTest
- MatrixMathTest - Class in org.djunits.util
-
Unit tests for
MatrixMath. - MatrixMathTest() - Constructor for class org.djunits.util.MatrixMathTest
- MatrixNxMTest - Class in org.djunits.vecmat.dnxm
- MatrixNxMTest() - Constructor for class org.djunits.vecmat.dnxm.MatrixNxMTest
- MatrixNxNTest - Class in org.djunits.vecmat.dn
- MatrixNxNTest() - Constructor for class org.djunits.vecmat.dn.MatrixNxNTest
- maxAbsValues() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.maxAbs(double...)with negative/positive values and sentinels. - maxMin() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies
AbsQuantity.max(AbsQuantity, AbsQuantity[])andAbsQuantity.min(AbsQuantity, AbsQuantity[])for identical references and that mixing references raises anIllegalArgumentException. - maxMin() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies
Quantity.max(Quantity, Quantity[])andQuantity.min(Quantity, Quantity[])selection. - maxValues() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.max(double...)for typical values, extremes, and sentinel behavior. - medianVariants() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.median(double...)across odd/even sizes, NaN filtering, single-value, and all-NaN inputs. - minAbsValues() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.minAbs(double...)with negative/positive values (including -0.0) and sentinels. - minValues() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.min(double...)for typical values, extremes, and sentinel behavior. - MomentumTest - Class in org.djunits.quantity
-
MomentumTest tests the Momentum quantity class.
- MomentumTest() - Constructor for class org.djunits.quantity.MomentumTest
- mu0TimesEpsilon0TimesCSquaredIsOne() - Method in class org.djunits.util.ConstantsTest
-
Verifies the physical identity μ0 · ε0 · c² ≈ 1 (dimensionless).
- multiplyFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.multiply(double[], double[])element-wise product and preconditions. - multiplyRectangularAndErrors() - Method in class org.djunits.util.MatrixMathTest
-
Verifies rectangular matrix multiplication and length-mismatch precondition errors.
N
- nnzFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.nnz(double[])including checking NaN, -0.0 and Infinity. - NoRegisterUnit() - Constructor for class org.djunits.unit.UnitsTest.NoRegisterUnit
- numberConversions() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies that
Number-derived conversions reflect the SI value semantics (rounding for int/long). - NumberFormatTest - Class in org.djunits.formatter
-
Tests all
QuantityFormatsettings that are related to formating the number. - NumberFormatTest() - Constructor for class org.djunits.formatter.NumberFormatTest
O
- of(double, String) - Static method in class org.djunits.quantity.def.PerMass
-
Returns a Mass based on a value and the textual representation of the unit, which can be localized.
- ofParses() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies successful parsing via
AbsQuantity.of(double, String, AbsQuantity, Reference)and error branches fornullparameters, empty unit string, and unknown units. - ofParses() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies successful parsing via
Quantity.of(double, String, Quantity)and its error branches fornullparameters, empty unit string, and unknown unit. - ofParsesAndValidates() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies
SIQuantity.of(double, String)happy path and error handling. - ofSi(double) - Method in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
- ofSi(double) - Static method in class org.djunits.quantity.def.PerMass
-
Return a Mass instance based on an SI value.
- ofSi(double) - Method in class org.djunits.quantity.def.PerMass.Unit
- ofSi(double) - Method in class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz.Unit
- ofSi(double) - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- ofSi(double) - Method in class org.djunits.unit.UnitsTest.QUnit
- ofSi(double) - Static method in class org.djunits.unit.UnitTest.Jerk
-
Factory: SI value.
- ofSi(double) - Method in class org.djunits.unit.UnitTest.Jerk.Unit
- ofSi(double) - Static method in class org.djunits.unit.UnitTest.PerMass
-
Create a PerMass quantity from an SI (BASE) value, i.e. in 1/kg.
- ofSi(double) - Method in class org.djunits.unit.UnitTest.PerMass.Unit
- ONE - Static variable in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz
-
ONE.
- ONE - Static variable in class org.djunits.quantity.def.PerMass
-
Constant with value one.
- org.djunits.formatter - package org.djunits.formatter
- org.djunits.quantity - package org.djunits.quantity
- org.djunits.quantity.def - package org.djunits.quantity.def
- org.djunits.unit - package org.djunits.unit
- org.djunits.unit.scale - package org.djunits.unit.scale
- org.djunits.unit.si - package org.djunits.unit.si
- org.djunits.unit.system - package org.djunits.unit.system
- org.djunits.unit.units - package org.djunits.unit.units
- org.djunits.util - package org.djunits.util
- org.djunits.vecmat.d1 - package org.djunits.vecmat.d1
- org.djunits.vecmat.d2 - package org.djunits.vecmat.d2
- org.djunits.vecmat.d3 - package org.djunits.vecmat.d3
- org.djunits.vecmat.dn - package org.djunits.vecmat.dn
- org.djunits.vecmat.dnxm - package org.djunits.vecmat.dnxm
- org.djunits.vecmat.storage - package org.djunits.vecmat.storage
- org.djunits.vecmat.table - package org.djunits.vecmat.table
P
- per_g - Static variable in class org.djunits.quantity.def.PerMass.Unit
-
gram.
- per_kg - Static variable in class org.djunits.quantity.def.PerMass.Unit
-
per kilogram.
- PER_KILOGRAM - Static variable in class org.djunits.unit.UnitTest.PerMass.Unit
-
Base per-kilo unit (1/kg).
- per_mg - Static variable in class org.djunits.quantity.def.PerMass.Unit
-
milligram.
- per_mug - Static variable in class org.djunits.quantity.def.PerMass.Unit
-
microgram.
- PerMass - Class in org.djunits.quantity.def
-
PerMass is a test class for the per-kilo SI units.
- PerMass(double, String) - Constructor for class org.djunits.quantity.def.PerMass
-
Instantiate a Mass quantity with a unit, expressed as a String.
- PerMass(double, PerMass.Unit) - Constructor for class org.djunits.quantity.def.PerMass
-
Instantiate a Mass quantity with a unit.
- PerMass(double, UnitTest.PerMass.Unit) - Constructor for class org.djunits.unit.UnitTest.PerMass
-
Construct a PerMass quantity with a value in the provided unit.
- PerMass(PerMass) - Constructor for class org.djunits.quantity.def.PerMass
-
Construct Mass quantity.
- PerMass.Unit - Class in org.djunits.quantity.def
-
PerMass.Unit encodes the unit of the PerMass quantity.
- pinLocale() - Static method in class org.djunits.quantity.def.AbsQuantityTest
-
Pin the default
Localefor predictable formatting/parsing behavior. - pinLocale() - Static method in class org.djunits.quantity.def.QuantityTest
-
Pin the default
Localefor predictable formatting/parsing behavior. - pinLocale() - Static method in class org.djunits.quantity.SIQuantityTest
-
Pin the default
Localefor predictable formatting/parsing behavior across environments. - PositionTest - Class in org.djunits.quantity
-
PositionTest tests the Position absolute quantity class and its Reference handling.
- PositionTest() - Constructor for class org.djunits.quantity.PositionTest
- PowerTest - Class in org.djunits.quantity
-
PowerTest tests the Power quantity class.
- PowerTest() - Constructor for class org.djunits.quantity.PowerTest
- PowerUnitTest - Class in org.djunits.unit.units
-
Power.Unit test.
- PowerUnitTest() - Constructor for class org.djunits.unit.units.PowerUnitTest
- powVariants() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.pow(int, int)for diverse cases, including the negative-exponent error. - PressureTest - Class in org.djunits.quantity
-
PressureTest tests the Pressure quantity class.
- PressureTest() - Constructor for class org.djunits.quantity.PressureTest
- PressureUnitTest - Class in org.djunits.unit.units
-
Pressure.Unit test.
- PressureUnitTest() - Constructor for class org.djunits.unit.units.PressureUnitTest
- privateConstructorCoverage() - Method in class org.djunits.util.Math2Test
-
Covers the private no-arg constructor of
Math2to attain full coverage of the class. - privateConstructorCoverage() - Method in class org.djunits.util.MatrixMathTest
-
Covers the private constructor of
MatrixMathvia reflection for complete coverage.
Q
- Q(double, UnitsTest.QUnit) - Constructor for class org.djunits.unit.UnitsTest.Q
- quantityAndReferenceAccessors() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies the accessors
AbsQuantity.getQuantity()andAbsQuantity.getReference(). - QuantityFormatTest - Class in org.djunits.formatter
-
Tests all
QuantityFormatsettings and their effect on quantity formatting. - QuantityFormatTest() - Constructor for class org.djunits.formatter.QuantityFormatTest
- QuantityTableTest - Class in org.djunits.vecmat.table
-
Unit tests for
QuantityTable. - QuantityTableTest() - Constructor for class org.djunits.vecmat.table.QuantityTableTest
- QuantityTest - Class in org.djunits.quantity.def
- QuantityTest() - Constructor for class org.djunits.quantity.def.QuantityTest
- QuantityTest.ExampleQuantityAQxyz - Class in org.djunits.quantity.def
-
Quantity class for test.
- QuantityTest.ExampleQuantityAQxyz.Unit - Class in org.djunits.quantity.def
-
The unit for ExampleQuantityAQxyz.
- QUnit() - Constructor for class org.djunits.unit.UnitsTest.QUnit
R
- RadioActivityTest - Class in org.djunits.quantity
-
RadioActivityTest tests the RadioActivity quantity class.
- RadioActivityTest() - Constructor for class org.djunits.quantity.RadioActivityTest
- RadioActivityUnitTest - Class in org.djunits.unit.units
-
RadioActivity.Unit test.
- RadioActivityUnitTest() - Constructor for class org.djunits.unit.units.RadioActivityUnitTest
- reciprocalFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.reciprocal(double[])including reciprocal of 0 and Infinity. - REF - Static variable in class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference
-
REF.
- Reference(String, String, AbsQuantityTest.RelativeExampleQuantityAQxyz, AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference) - Constructor for class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz.Reference
- ReferenceTest - Class in org.djunits.quantity.def
-
ReferenceTest tests the Reference registry, including per-class isolation of reference ids, duplicate detection within a class, and snapshot behavior of the returned reference map.
- ReferenceTest() - Constructor for class org.djunits.quantity.def.ReferenceTest
- RelativeExampleQuantityAQxyz(double, AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit) - Constructor for class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz
- relativeToVariants() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies
AbsQuantity.relativeTo(Reference)for: identity transform (same reference) direct parent/child transform (A ⇄ B) multi-level transform (C ⇄ A via B) unrelated roots (should throw) Graph (SI offsets): A=0, B=A+2, C=B+1 (=A+3). - restoreLocale() - Static method in class org.djunits.quantity.def.AbsQuantityTest
-
Restore the default
Localefor the FORMAT category. - restoreLocale() - Static method in class org.djunits.quantity.def.QuantityTest
-
Restore the default
Localefor the FORMAT category. - restoreLocale() - Static method in class org.djunits.quantity.SIQuantityTest
-
Restore the default
Localefor the FORMAT category after all tests complete.
S
- scaleByFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.scaleBy(double[], double)scaling by a scalar and preconditions. - scaleIntoProcedural() - Method in class org.djunits.util.ArrayMathTest
- ScaleTest - Class in org.djunits.unit.scale
-
ScaleTest tests the different types of conversion scales for units.
- ScaleTest() - Constructor for class org.djunits.unit.scale.ScaleTest
- setSiPrefix(String) - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- setSiPrefix(String) - Method in class org.djunits.unit.UnitsTest.QUnit
- setSiPrefix(SIPrefix) - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- setSiPrefix(SIPrefix) - Method in class org.djunits.unit.UnitsTest.QUnit
- setSiPrefixKilo(String) - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- setSiPrefixKilo(String) - Method in class org.djunits.unit.UnitsTest.QUnit
- setSiPrefixPer(String) - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- setSiPrefixPer(String) - Method in class org.djunits.unit.UnitsTest.QUnit
- setup() - Method in class org.djunits.formatter.MatrixFormatTest
-
Setup correct locale for test.
- setup() - Method in class org.djunits.formatter.NumberFormatTest
-
Setup correct locale for test.
- setup() - Method in class org.djunits.formatter.QuantityFormatTest
-
Setup correct locale for test.
- setup() - Method in class org.djunits.formatter.TableFormatTest
-
Setup correct locale for test.
- setup() - Method in class org.djunits.formatter.UnitFormatTest
-
Setup correct locale for test.
- setup() - Method in class org.djunits.formatter.VectorFormatTest
-
Setup correct locale for test.
- setup() - Method in class org.djunits.quantity.AbsorbedDoseTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.AccelerationTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.AmountOfSubstanceTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.AngleTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.AngularAccelerationTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.AngularVelocityTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.ArealObjectDensityTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.AreaTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.CatalyticActivityTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Establishes a small reference graph for tests.
- setup() - Method in class org.djunits.quantity.def.ReferenceTest
-
Set Locale.US for consistent formatting.
- setup() - Method in class org.djunits.quantity.DensityTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.DimensionlessTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.quantity.DirectionTest
-
Setup correct locale for test.
- setup() - Method in class org.djunits.quantity.DurationTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ElectricalCapacitanceTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ElectricalConductanceTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ElectricalInductanceTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ElectricalResistanceTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ElectricChargeTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ElectricCurrentTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ElectricPotentialTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.EnergyTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.EquivalentDoseTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.FlowMassTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.FlowVolumeTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.ForceTest
-
Setup uniform locale before the tests.
- setup() - Method in class org.djunits.quantity.FrequencyTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.IlluminanceTest
-
Use standard locale for tests.
- setup() - Method in class org.djunits.quantity.LengthTest
-
Use standard locale for all tests.
- setup() - Method in class org.djunits.quantity.LinearDensityTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.LinearObjectDensityTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.LuminousFluxTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.LuminousIntensityTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.MagneticFluxDensityTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.MagneticFluxTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.MassTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.MomentumTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.PositionTest
-
Set Locale.US for consistent number parsing and formatting.
- setup() - Method in class org.djunits.quantity.PowerTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.PressureTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.RadioActivityTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.SolidAngleTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.SpeedTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.TemperatureDifferenceTest
-
Standard locale for the tests.
- setup() - Method in class org.djunits.quantity.TemperatureTest
-
Set Locale.US for consistent number parsing and formatting.
- setup() - Method in class org.djunits.quantity.TimeTest
-
Set Locale.US for consistent number parsing and formatting.
- setup() - Method in class org.djunits.quantity.TorqueTest
-
Set a predictable locale before each test.
- setup() - Method in class org.djunits.quantity.VolumeTest
-
Set a predictable locale before each test.
- setup() - Method in class org.djunits.quantity.VolumetricObjectDensityTest
-
Set a deterministic locale.
- setup() - Method in class org.djunits.unit.units.AbsorbedDoseUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.AccelerationUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.AmountOfSubstanceUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.AngleUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ArealObjectDensityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.AreaUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.CatalyticActivityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.DensityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.DimensionlessUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.DurationUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ElectricalCapacitanceUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ElectricalConductanceUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ElectricalInductanceUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ElectricalResistanceUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ElectricChargeUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ElectricCurrentUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ElectricPotentialUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.EnergyUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.EquivalentDoseUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.FlowMassUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.FlowVolumeUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.ForceUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.FrequencyUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.IlluminanceUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.LengthUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.LinearDensityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.LinearObjectDensityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.LuminousFluxUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.LuminousIntensityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.MagneticFluxDensityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.MagneticFluxUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.MassUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.PowerUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.PressureUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.RadioActivityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.SolidAngleUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.SpeedUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.TemperatureUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.TorqueUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.VolumetricObjectDensityUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- setup() - Method in class org.djunits.unit.units.VolumeUnitTest
-
Set the locale to "US" so we know what texts should be retrieved from the resources.
- SI - Static variable in class org.djunits.quantity.def.PerMass.Unit
-
The SI or BASE unit.
- SI - Static variable in class org.djunits.unit.UnitTest.Jerk.Unit
-
SI/base handle for
UnitTest.Jerk.ofSi(double). - SI - Static variable in class org.djunits.unit.UnitTest.PerMass.Unit
-
Handle for
UnitTest.PerMass.ofSi(double)after prefix generation. - SI_UNIT - Static variable in class org.djunits.quantity.def.PerMass.Unit
-
The dimensions of mass: /kg.
- SI_UNIT - Static variable in class org.djunits.unit.UnitTest.Jerk.Unit
-
SI dimensions for jerk: m/s^3.
- SI_UNIT - Static variable in class org.djunits.unit.UnitTest.PerMass.Unit
-
SI dimensions of per-mass: 1/kg.
- siConstantsDimensionalityAndValues() - Method in class org.djunits.util.ConstantsTest
-
Verifies dimensionality and representative numeric values for fundamental constants.
- SIPrefixTest - Class in org.djunits.unit.si
-
Tests for
SIPrefixandSIPrefixes. - SIPrefixTest() - Constructor for class org.djunits.unit.si.SIPrefixTest
- siQuantityArithmetic() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies
Quantity.multiply(Quantity),Quantity.divide(Quantity), andQuantity.reciprocal()produceSIQuantitywith correct SI values (unit algebra correctness is validated in SIQuantity/unit tests). - SIQuantityTest - Class in org.djunits.quantity
-
Unit tests for
SIQuantity. - SIQuantityTest() - Constructor for class org.djunits.quantity.SIQuantityTest
- siUnit() - Method in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
- siUnit() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies correct working of
AbsQuantity.siUnit(). - siUnit() - Method in class org.djunits.quantity.def.PerMass
- siUnit() - Method in class org.djunits.quantity.def.PerMass.Unit
- siUnit() - Method in class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz.Unit
- siUnit() - Method in class org.djunits.unit.UnitsTest.NoRegisterUnit
- siUnit() - Method in class org.djunits.unit.UnitsTest.QUnit
- siUnit() - Method in class org.djunits.unit.UnitTest.Jerk
- siUnit() - Method in class org.djunits.unit.UnitTest.Jerk.Unit
- siUnit() - Method in class org.djunits.unit.UnitTest.PerMass
- siUnit() - Method in class org.djunits.unit.UnitTest.PerMass.Unit
- siUnitMatches() - Method in class org.djunits.quantity.def.QuantityTest
-
Ensures that
Quantity.siUnit()returns the correct SI unit for the quantity family. - siUnitReturnsCurrentUnit() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies
SIQuantity.siUnit()returns the current display unit (for SIQuantity this is its own SI unit). - SIUnitTest - Class in org.djunits.unit.si
-
Unit tests for
SIUnit. - SIUnitTest - Class in org.djunits.unit.units
-
SIUnitTest tests a few remaining methods of the SIUnit class.
- SIUnitTest() - Constructor for class org.djunits.unit.si.SIUnitTest
- SIUnitTest() - Constructor for class org.djunits.unit.units.SIUnitTest
- siValueInvariant() - Method in class org.djunits.quantity.def.QuantityTest
-
Ensures that the SI value returned by
Quantity.si()is invariant under changes to the display unit. - SolidAngleTest - Class in org.djunits.quantity
-
SolidAngleTest tests the SolidAngle quantity class.
- SolidAngleTest() - Constructor for class org.djunits.quantity.SolidAngleTest
- SolidAngleUnitTest - Class in org.djunits.unit.units
-
SolidAngle.Unit test.
- SolidAngleUnitTest() - Constructor for class org.djunits.unit.units.SolidAngleUnitTest
- SparseDoubleDataSiTest - Class in org.djunits.vecmat.storage
-
Unit tests for
SparseDoubleDataSi. - SparseDoubleDataSiTest() - Constructor for class org.djunits.vecmat.storage.SparseDoubleDataSiTest
- SparseFloatDataSiTest - Class in org.djunits.vecmat.storage
-
Unit tests for
SparseFloatDataSi. - SparseFloatDataSiTest() - Constructor for class org.djunits.vecmat.storage.SparseFloatDataSiTest
- SpeedTest - Class in org.djunits.quantity
-
SpeedTest tests the Speed quantity class.
- SpeedTest() - Constructor for class org.djunits.quantity.SpeedTest
- SpeedUnitTest - Class in org.djunits.unit.units
-
Speed.Unit test.
- SpeedUnitTest() - Constructor for class org.djunits.unit.units.SpeedUnitTest
- subtract(AbsQuantityTest.AbsoluteExampleQuantityAQxyz) - Method in class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz
- subtract(AbsQuantityTest.RelativeExampleQuantityAQxyz) - Method in class org.djunits.quantity.def.AbsQuantityTest.AbsoluteExampleQuantityAQxyz
- subtractAbsolute() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies
AbsQuantity.subtract(AbsQuantity)aligns references and returns the relative difference. - subtractFunctional() - Method in class org.djunits.util.ArrayMathTest
-
Verifies
ArrayMath.subtract(double[], double[])element-wise difference and preconditions. - sumAbsValues() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.sumAbs(double...)produces the sum of absolute values and sentinel behavior. - sumMean() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies
AbsQuantity.sum(AbsQuantity, AbsQuantity[])andAbsQuantity.mean(AbsQuantity, AbsQuantity[])for identical references, and ensures that the reference and display unit of the first argument are preserved. - sumMean() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies
Quantity.sum(Quantity, Quantity[])andQuantity.mean(Quantity, Quantity[])and that the display unit of the first argument is preserved in the result. - sumSqrValues() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.sumSqr(double...)produces the sum of squares and sentinel behavior. - sumValues() - Method in class org.djunits.util.Math2Test
-
Verifies
Math2.sum(double...)with typical inputs and sentinel behavior. - symmetryChecks() - Method in class org.djunits.util.MatrixMathTest
-
Verifies symmetry checks with default and explicit tolerances.
T
- TableFormatTest - Class in org.djunits.formatter
-
Tests all
TableFormatsettings and their effect on matrix formatting. - TableFormatTest() - Constructor for class org.djunits.formatter.TableFormatTest
- TemperatureDifferenceTest - Class in org.djunits.quantity
-
TemperatureDifferenceTest tests the TemperatureDifference quantity class.
- TemperatureDifferenceTest() - Constructor for class org.djunits.quantity.TemperatureDifferenceTest
- TemperatureTest - Class in org.djunits.quantity
-
TemperatureTest tests the Temperature absolute quantity class and its Reference handling.
- TemperatureTest() - Constructor for class org.djunits.quantity.TemperatureTest
- TemperatureUnitTest - Class in org.djunits.unit.units
-
Temperature.Unit test.
- TemperatureUnitTest() - Constructor for class org.djunits.unit.units.TemperatureUnitTest
- testAbsMatrixPrefixPostfix() - Method in class org.djunits.formatter.MatrixFormatTest
-
Test prefix separator between number and unit, and postfix after the unit for an absolute matrix.
- testAbsoluteFactories() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test of(A[]) and of(A[][]) factory methods.
- testAbsoluteFactories() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test of(A[]) and of(A[][]) factory methods.
- testAbsorbedDose() - Method in class org.djunits.quantity.AbsorbedDoseTest
-
Test the basic features.
- testAbsQuantityPrefixPostfix() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test prefix separator between number and unit, and postfix after the unit for an absolute quantity.
- testAbsReferencePrefixPostfix() - Method in class org.djunits.formatter.MatrixFormatTest
-
Test absolute matrix formatting with prefix separator between number and reference, and postfix after the reference.
- testAbsReferencePrefixPostfix() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test absolute quantity formatting with prefix separator between number and reference, and postfix after the reference.
- testAbsReferencePrefixPostfix() - Method in class org.djunits.formatter.TableFormatTest
-
Test absolute quantity table formatting with prefix separator between number and reference, and postfix after the reference.
- testAbsReferencePrefixPostfixCol() - Method in class org.djunits.formatter.VectorFormatTest
-
Test absolute column vector formatting with prefix separator between number and reference, and postfix after the reference.
- testAbsReferencePrefixPostfixRow() - Method in class org.djunits.formatter.VectorFormatTest
-
Test absolute row vector formatting with prefix separator between number and reference, and postfix after the reference.
- testAbsStaticFactories() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test the of(A), of(A[]) and of(A[][]) static factories.
- testAbsStaticFactories() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test of(A) and of(A[]) static factories.
- testAbsStaticFactories() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test the of(A[]) and of(A[][]) static factories.
- testAbsStaticFactories() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test the of(A[]) and of(A[][]) static factories.
- testAbsStaticFactories() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test the of(A[]) and of(A[][]) static factories.
- testAbsStaticFactoriesCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test of(A) and of(A[]) static factories for column matrices.
- testAbsStaticFactoriesCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test of(A) and of(A[]) static factories for column matrices.
- testAbsStaticFactoriesCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test of(A) and of(A[]) static factories for column matrices.
- testAbsStaticFactoriesRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test of(A) and of(A[]) static factories for row matrices.
- testAbsStaticFactoriesRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test of(A) and of(A[]) static factories for row matrices.
- testAbsStaticFactoriesRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test of(A) and of(A[]) static factories for row matrices.
- testAbsTablePrefixPostfix() - Method in class org.djunits.formatter.TableFormatTest
-
Test prefix separator between number and unit, and postfix after the unit for an absolute quantity table.
- testAbstractUnitConstructorValidation() - Method in class org.djunits.unit.UnitTest
-
Constructor validation in
AbstractUnit: null or empty fields must be rejected. - testAbstractUnitEqualsHashCodeToString() - Method in class org.djunits.unit.UnitTest
- testAbsVector2ColAsFunctions() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test AbsVector2.Col as() functions.
- testAbsVector2RowAsFunctions() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test AbsVector2.Row as() functions.
- testAbsVector3ColAsFunctions() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test AbsVector3.Col as() functions.
- testAbsVector3RowAsFunctions() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test AbsVector3.Row as() functions.
- testAbsVectorColPrefixPostfix() - Method in class org.djunits.formatter.VectorFormatTest
-
Test prefix separator between number and unit, and postfix after the unit for an absolute column vector.
- testAbsVectorNColAsFunctions() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test as() functions for Col vector.
- testAbsVectorNRowAsFunctions() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test as() functions for Row vector.
- testAbsVectorRowPrefixPostfix() - Method in class org.djunits.formatter.VectorFormatTest
-
Test prefix separator between number and unit, and postfix after the unit for an absolute row vector.
- testAcceleration() - Method in class org.djunits.quantity.AccelerationTest
-
Test the basic features.
- testAccessorsAndIndexing() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify size, x() quantities, xSi(), getSiArray() copy semantics, and get(index) branches.
- testAccessorsAndIndexing() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify size, x()/y() quantities, xSi()/ySi(), getSiArray() copy semantics, and get(index) branches.
- testAccessorsAndIndexingCol() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify size, x/y/z quantities, xSi/ySi/zSi, getSiArray(), get(index) (Col).
- testAccessorsAndIndexingRow() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify size, x/y/z quantities, xSi/ySi/zSi, getSiArray() copy semantics, and get(index) branches (Row).
- testAddDirection() - Method in class org.djunits.quantity.AngleTest
-
Test add(Direction): result SI equals direction + angle; display unit propagation is indirect in Direction, so we validate SI arithmetic here.
- testAddGetAndPerClassIsolation() - Method in class org.djunits.quantity.def.ReferenceTest
-
Verify that references can be added and retrieved by id for a specific Reference subclass, and that the same id can be reused safely in a different Reference subclass (per-class isolation; no cross-quantity collisions).
- testAddSubtract() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test add() and subtract() methods.
- testAddSubtract() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test add() and subtract() methods for AbsVector1.
- testAddSubtract() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test add() and subtract() methods.
- testAddSubtract() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test add() and subtract() methods.
- testAddSubtract() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test add() and subtract() methods.
- testAddSubtract() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test add() and subtract() methods.
- testAddSubtract() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test add() and subtract() methods.
- testAddSubtractCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test add() and subtract() methods for column vectors.
- testAddSubtractCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test add() and subtract() methods for column vectors.
- testAddSubtractCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test add() and subtract() methods for column vectors.
- testAddSubtractMatrix() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
VectorMatrix.add(Quantity)andsubtract(VM)with another matrix. - testAddSubtractMatrix() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
VectorMatrix.add(Quantity)andsubtract(VM)with another matrix. - testAddSubtractMatrix() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
add(VM)andsubtract(VM)element-wise for matrices. - testAddSubtractQuantity() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
VectorMatrix.add(Quantity)andsubtract(Q)with quantities. - testAddSubtractQuantity() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
VectorMatrix.add(Quantity)andsubtract(Q)with quantities. - testAddSubtractQuantity() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
add(Q)andsubtract(Q)with quantities. - testAddSubtractRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test add() and subtract() methods for row vectors.
- testAddSubtractRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test add() and subtract() methods for row vectors.
- testAddSubtractRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test add() and subtract() methods for row vectors.
- testAddWithPosition() - Method in class org.djunits.quantity.LengthTest
-
Test Length.add(Position): reference propagation, display unit propagation, and SI math.
- testAdjugate() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
Matrix1x1.adjugate()for a generic 1x1 matrix. - testAdjugate() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
Matrix2x2.adjugate()for a generic 2x2 matrix. - testAdjugateAllBranches() - Method in class org.djunits.util.MatrixMathTest
-
Test the
adjugate(double[], int)method for correctness and full branch coverage. - testAlgebraAndStats() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify vector/matrix algebra defaults and statistics.
- testAlgebraAndStats() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify add/sub (Q & VM), negate/abs/scaleBy, stats on 2x3 matrix.
- testAlgebraCol() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify vector algebra operations for
VectorN.Col: element-wiseadd/subtract(V),add/subtract(Q),negate(),abs(), andscaleBy(double). - testAlgebraRow() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify vector algebra operations for
VectorN.Row: element-wiseadd/subtract(V),add/subtract(Q),negate(),abs(), andscaleBy(double). - testAllConstructors() - Method in class org.djunits.quantity.TemperatureTest
-
Test all Temperature constructors, ensuring that value, unit, and reference are interpreted correctly and that the correct default reference is applied when no explicit reference is provided.
- testAllLocaleFilesKeyFormat() - Method in class org.djunits.unit.LocaleFilesTest
-
Validate that all keys in each locale bundle match one of the allowed patterns.
- testAmountOfSubstance() - Method in class org.djunits.quantity.AmountOfSubstanceTest
-
Test the basic features.
- testAngleBasics() - Method in class org.djunits.quantity.AngleTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, and siUnit.
- testAngularAccelerationBasics() - Method in class org.djunits.quantity.AngularAccelerationTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testAngularVelocityBasics() - Method in class org.djunits.quantity.AngularVelocityTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testAreaBasics() - Method in class org.djunits.quantity.AreaTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testArealObjectDensityBasics() - Method in class org.djunits.quantity.ArealObjectDensityTest
-
Test the basic features: constructors, constants, parsing, instantiate, siUnit, and ofSi.
- testArealObjectDensityOperations() - Method in class org.djunits.quantity.ArealObjectDensityTest
-
Test arithmetic operations and reciprocal.
- testAreaOperations() - Method in class org.djunits.quantity.AreaTest
-
Test arithmetic: divide/multiply combinations and reciprocal.
- testArithmetic() - Method in class org.djunits.quantity.PositionTest
-
Test subtract(Position) → Length, add(Length) → Position, subtract(Length) → Position, and check that display units propagate correctly from the absolute quantity.
- testArithmetic() - Method in class org.djunits.quantity.TemperatureTest
-
Test addition and subtraction of relative quantities, subtraction of absolute temperatures, and correct propagation of display units.
- testArithmetic() - Method in class org.djunits.quantity.TimeTest
-
Test subtract(Time) → Duration, add(Duration) → Time, subtract(Duration) → Time, and check display-unit propagation from the absolute quantity.
- testArrayConstructor() - Method in class org.djunits.unit.si.SIUnitTest
-
Verifies the int[9]-array constructor: Null and wrong-length arrays are rejected. Input array is defensively copied.
- testAs() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
Matrix1x1.as(Unit)succeeds when SI units match (e.g., m ↔ km), and throws when SI units mismatch (e.g., length ↔ time). - testAs() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify as(targetUnit) succeeds for a unit with identical SI dimension and fails for mismatched dimension.
- testAs() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
Matrix2x2.as(Unit)succeeds when SI units match (e.g., m ↔ km), and throws when SI units mismatch (e.g., length ↔ time). - testAs() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify as(targetUnit) succeeds for a unit with identical SI dimension and fails for mismatched dimension.
- testAs() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
Matrix3x3.as(Unit)succeeds when SI units match (e.g., m ↔ km), and throws when SI units mismatch (e.g., length ↔ time). - testAs() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify as(targetUnit) succeeds for m↔km and fails for mismatched SI unit (Row & Col).
- testAs() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.as(Unit)success (m↔km) and failure (dimension mismatch). - testAs() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Test as(): converting the table to a different display unit but identical SI unit.
- testAsAbsMatrixConversions() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Verify as* matrix conversions and shape checks.
- testAsAbsMatrixConversions() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Verify as* matrix conversions and shape checks.
- testAsAbsQuantityTableConversions() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Verify asAbsQuantityTable() conversion and shape checks.
- testAsAbsQuantityTableConversions() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Verify asAbsQuantityTable() conversion and shape checks.
- testAsAbsVectorConversions() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Verify as* vector conversions for 2/3/N Col and Row, plus shape checks.
- testAsAbsVectorConversions() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Verify as* vector conversions for 2/3/N Col and Row, plus shape checks.
- testAsFunctions() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test as() functions.
- testAsFunctions() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Test as() functions.
- testAsMatrix1x1() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify that
asMatrix1x1()preserves SI and display unit for a 1x1 matrix, and throwsIllegalStateExceptionfor other N (N=2 and N=3). - testAsMatrix2x2() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify that
asMatrix2x2()preserves SI and display unit for a 2x2 matrix, and throwsIllegalStateExceptionfor other N (tested with N=1 and N=3). - testAsMatrix3x3() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify that
asMatrix3x3()preserves SI and display unit for a 3x3 matrix, and throwsIllegalStateExceptionfor other N (tested with N=2 and N=4). - testAsMatrixConversions() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify as* matrix conversions and shape checks.
- testAsMatrixNxN() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify that
asMatrixNxN()preserves SI data and display unit for square matrices (tested with 1x1 and 4x4), and throwsIllegalStateExceptionfor non-square shapes (tested with 2x3 and 3x2). - testAsMatrixNxN() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify that
asMatrixNxN()preserves SI data and display unit for square matrices (tested with 1x1 and 4x4), and throwsIllegalStateExceptionfor non-square shapes (tested with 2x3 and 3x2). - testAsMethodsUnitConversion() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify that all asXXX() methods correctly preserve SI values and correctly assign display units.
- testAsTargetUnit() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify as(targetUnit) success (m↔km) and failure (dimension mismatch).
- testAsVectorConversions() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify as* vector conversions for 2/3/N Col and Row, plus shape checks.
- testAsVectorNCol() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify that
asVectorNCol(): Preserves SI data and display unit forN x 1matrices (tested with N=4 and N=1), ThrowsIllegalStateExceptionwhen the matrix has more than one column (e.g.,N x 2). SI correctness is validated via both the row-majorgetSiArray()array and element access on the returned vector. - testAsVectorNCol() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify that
asVectorNCol(): Preserves SI data and display unit forN x 1matrices (tested with N=4 and N=1), ThrowsIllegalStateExceptionwhen the matrix has more than one column (e.g.,N x 2). SI correctness is validated via both the row-majorgetSiArray()array and element access on the returned vector. - testAsVectorNRow() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify that
asVectorNRow(): Preserves SI data and display unit for1 x Nmatrices (tested with N=4 and N=1), ThrowsIllegalStateExceptionwhen the matrix has more than one row (e.g.,2 x N). SI correctness is validated via both the row-majorgetSiArray()array and element access on the returned vector. - testAsVectorNRow() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify that
asVectorNRow(): Preserves SI data and display unit for1 x Nmatrices (tested with N=4 and N=1), ThrowsIllegalStateExceptionwhen the matrix has more than one row (e.g.,2 x N). SI correctness is validated via both the row-majorgetSiArray()array and element access on the returned vector. - testBasicAlgebraCol() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify add(Q), subtract(Q), add(V), subtract(V), negate(), abs(), scaleBy(double) for Col.
- testBasicAlgebraCol() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify add(Q), subtract(Q), add(V), subtract(V), negate(), abs(), scaleBy() (Col).
- testBasicAlgebraRow() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify add(Q), subtract(Q), add(V), subtract(V), negate(), abs(), scaleBy(double) for Vector1.
- testBasicAlgebraRow() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify add(Q), subtract(Q), add(V), subtract(V), negate(), abs(), scaleBy(double) for Row.
- testBasicAlgebraRow() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify add(Q), subtract(Q), add(V), subtract(V), negate(), abs(), scaleBy() (Row).
- testBasics() - Method in class org.djunits.quantity.DirectionTest
-
Test constructors, parsing, ofSi, instantiate, and siUnit.
- testBasics() - Method in class org.djunits.quantity.TorqueTest
-
Test constructors, constants, string parsing, SI conversions, instantiate, siUnit(), and ofSi().
- testBasics() - Method in class org.djunits.quantity.VolumetricObjectDensityTest
-
Test constructors, constants, SI conversions, instantiate, siUnit(), copy.
- testBasicShapeAndValue() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
VectorMatrix.rows(),VectorMatrix.cols(), and relative/absolute flag. - testBasicShapeAndValue() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
- testBasicShapeAndValue() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
- testBundleUtf8ControlLoadsFiles() - Method in class org.djunits.unit.UnitsTest
-
Verify the UTF-8 ResourceBundle loader can read localized files and retrieve non-ASCII content.
- testCardinality() - Method in class org.djunits.vecmat.storage.DataGridSiTest
-
Test cardinality() with different types.
- testCardinality() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.nonZeroCount()semantics: counts non-zero entries (treats +/-0.0 as zero; counts NaN and infinities as non-zero). - testCardinality() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test cardinality semantics: counts non-zero entries; counts NaN and infinity as non-zero.
- testCardinality() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test cardinality method.
- testCardinality() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Test cardinality.
- testCatalyticActivityBasics() - Method in class org.djunits.quantity.CatalyticActivityTest
-
Test the basic features: constructors, constants, parsing, SI conversions (including prefixes), instantiate, siUnit, and ofSi.
- testCatalyticActivityOperations() - Method in class org.djunits.quantity.CatalyticActivityTest
-
Test arithmetic: divide/multiply combinations.
- testColAsRowVectorFormat() - Method in class org.djunits.formatter.VectorFormatTest
-
Test format settings for the column-as-row vector.
- testColOfArrayUnitEmpty() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(double[], unit) with empty array.
- testColOfArrayUnitHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(double[],unit) – happy path.
- testColOfArrayUnitHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(double[],unit) happy path.
- testColOfArrayUnitHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(double[], unit) happy path.
- testColOfArrayUnitNullArray() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(double[],unit) – null array.
- testColOfArrayUnitNullArray() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(double[],unit) null array.
- testColOfArrayUnitNullArray() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(double[], unit) with null array.
- testColOfArrayUnitWrongLength() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(double[],unit) – wrong length.
- testColOfArrayUnitWrongLength() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(double[],unit) wrong length.
- testColOfDoubleDoubleUnitHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(double,double,unit) – happy path.
- testColOfDoubleDoubleUnitNull() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(double,double,null) – null unit.
- testColOfDoubleTripleUnitHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(double,double,double,unit) happy path.
- testColOfDoubleTripleUnitNull() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(double,double,double,null) must throw.
- testColOfQQHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(Q,Q) – happy path.
- testColOfQQNullX() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(Q,Q) – null x.
- testColOfQQNullY() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(Q,Q) – null y.
- testColOfQQQHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(Q,Q,Q) happy path.
- testColOfQQQNullX() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(Q,Q,Q) with null x.
- testColOfQQQNullZ() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(Q,Q,Q) with null z.
- testColOfQuantityArrayEmpty() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(Q[]) with empty array.
- testColOfQuantityArrayHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(Q[]) – happy path.
- testColOfQuantityArrayHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(Q[]) happy path.
- testColOfQuantityArrayHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(Q[]) happy path.
- testColOfQuantityArrayNull() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(Q[]) – null array.
- testColOfQuantityArrayNull() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(Q[]) null array.
- testColOfQuantityArrayNull() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(Q[]) with null array.
- testColOfQuantityArrayWrongLength() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.of(Q[]) – wrong length.
- testColOfQuantityArrayWrongLength() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.of(Q[]) wrong length.
- testColOfQuantityListEmpty() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(List) with empty list.
- testColOfQuantityListHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(List) happy path.
- testColOfQuantityListWithNullElement() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.of(List) with null element.
- testColOfSiArrayHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.ofSi(double[], unit) happy path.
- testColOfSiArrayNullUnit() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.ofSi(double[],null).
- testColOfSiArrayNullUnit() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.ofSi(double[],null unit).
- testColOfSiArrayNullUnit() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.ofSi(double[], unit) with null unit.
- testColOfSiArrayUnitHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.ofSi(double[],unit) – happy path.
- testColOfSiArrayUnitHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.ofSi(double[],unit) happy path.
- testColOfSiArrayWrongLength() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.ofSi(double[],unit) – wrong length.
- testColOfSiArrayWrongLength() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.ofSi(double[],unit) wrong length.
- testColOfSiDataGridHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.ofSi(DataGridSi, unit) happy path.
- testColOfSiDataGridWrongShape() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Col.ofSi(DataGridSi, unit) with wrong shape.
- testColOfSiScalarsHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Col.ofSi(double,double,unit) – happy path.
- testColOfSiScalarsHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.ofSi(double,double,double,unit) happy path.
- testColOfSiScalarsNullUnit() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col.ofSi(double,double,double,null) must throw.
- testColTimesRow() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify Col⋅Row = 2x2 matrix with plus-unit composition.
- testColTimesRow() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Col·Row → Matrix3x3 with plus-unit composition.
- testColVectorFormat() - Method in class org.djunits.formatter.VectorFormatTest
-
Test format settings for the column vector.
- testCombinedFormat() - Method in class org.djunits.quantity.def.QuantityTest
-
Test multiple format settings combined.
- testCombinedFormats() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Test multiple format settings combined.
- testComparisonOperators() - Method in class org.djunits.quantity.PositionTest
-
Test lt, le, gt, ge, eq, ne, compareTo, including mismatched-reference errors.
- testComparisonOperators() - Method in class org.djunits.quantity.TemperatureTest
-
Test lt, le, gt, ge, eq, ne, compareTo, and mismatched-reference error cases.
- testComparisonOperators() - Method in class org.djunits.quantity.TimeTest
-
Test lt, le, gt, ge, eq, ne, compareTo.
- testConstantsAndBaseBehavior() - Method in class org.djunits.unit.UnitlessTest
-
Verify constants and base behavior:
Unitless.SI_UNIT,Unitless.BASE, IDs/names/displays, system, and scale factor. - testConstructor() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify constructor.
- testConstructor() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Test basic constructor behavior: correct dimensions and display unit.
- testConstructorAndShapeCol() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify that a
VectorN.Colconstructed from display values stores SI internally and reports correct shape properties (rows, cols, size, orientation). - testConstructorAndShapeRow() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify that a
VectorN.Rowconstructed from display values stores SI internally and reports correct shape properties (rows, cols, size, orientation). - testConstructorAndSiStorage() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify that constructor interprets values in the provided display unit and converts to SI storage.
- testConstructorAndSiStorage() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify that constructor interprets values in the provided display unit and converts to SI storage.
- testConstructorAndSiStorageCol() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify that constructor interprets values in display unit and stores SI internally (Col).
- testConstructorAndSiStorageRow() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify that constructor interprets values in display unit and stores SI internally (Row).
- testConstructors() - Method in class org.djunits.quantity.PositionTest
-
Test all Position constructors: (value, unit, reference), (value, abbreviation, reference), and (Length, reference).
- testConstructors() - Method in class org.djunits.quantity.TimeTest
-
Test all Time constructors: (value, unit, reference), (value, abbreviation, reference), and (Duration, reference), as well as ofSi(..., reference).
- testConstructorValidation() - Method in class org.djunits.unit.scale.ScaleTest
-
Test constructors against illegal arguments.
- testCopy() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.copy()creates a deep copy (independent backing array). - testCopy() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test deep copy semantics of
copy(). - testCopy() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test deep copy of sparseData and indexes.
- testCopy() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Test deep copy.
- testCtor2DArrayValidationCopyingAndOrder() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify constructor with
double[][]validates inputs, performs a safe copy, and preserves row-major ordering. - testCtor2DFloatArray() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test constructor(float[][]) for safe-copy semantics, validation, row-major correctness, and ragged-row exact exception class.
- testCtorBase() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test constructor and base methods such as rows(), cols(), order().
- testCtorBase() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test constructor and base methods such as rows(), cols(), size() for AbsVector1.
- testCtorBase() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test constructor and base methods such as rows(), cols(), order().
- testCtorBase() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test constructor and base methods such as rows(), cols(), order().
- testCtorBase() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test constructor and base methods.
- testCtorBase() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test constructor and base methods such as rows(), cols(), order().
- testCtorBase() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test constructor and base methods such as rows(), cols(), order().
- testCtorBaseCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test constructor and base methods such as rows(), cols(), size() for column vector.
- testCtorBaseCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test constructor and base methods such as rows(), cols(), size() for column vector.
- testCtorBaseCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test constructor and base methods such as rows(), cols(), size() for column vector.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test exceptions for constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test exceptions for AbsVector1 constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test exceptions for constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test exceptions for row and column constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test exceptions for constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test exceptions for row and column constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test exceptions for row and column constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test exceptions for constructor.
- testCtorBaseExceptions() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test exceptions for constructor.
- testCtorBaseRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test constructor and base methods such as rows(), cols(), size() for row vector.
- testCtorBaseRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test constructor and base methods such as rows(), cols(), size() for row vector.
- testCtorBaseRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test constructor and base methods such as rows(), cols(), size() for row vector.
- testCtorCollection() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test constructor(Collection) including bounds errors and SI conversion.
- testCtorCollection() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor(Collection): row/col bounds + SI.
- testCtorDenseData() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test constructor(double[],r,c) and sparse conversion.
- testCtorDenseData() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor: double[] denseData.
- testCtorDenseFloatData() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor: float[] denseData.
- testCtorDenseQArray() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor: Q[] denseData to sparse safe copy.
- testCtorDoubleArrayValidationAndExposure() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify constructor with
double[]validates inputs and sets geometry and backing reference as specified (no safe copy). - testCtorExceptions() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test constructor exceptions.
- testCtorFloatArrayValidation() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test validation paths for constructor(float[],r,c).
- testCtorFloatMatrix() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor: float[][] densely.
- testCtorMatrix() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test constructor(double[][]) including ragged checking and safe-copy semantics.
- testCtorMatrix() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor: double[][] densely.
- testCtorMatrixQ() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test constructor(Q[][]) incl. ragged detection, SI conversion, and safe copies.
- testCtorMatrixQ() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor(Q[][]): SI conversion + ragged detection + sparse copy.
- testCtorQArrayDense() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test constructor(Q[], rows, cols) and verify no size check and correct sparse generation.
- testCtorQArraySparse() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test constructor(Q[], indexes, rows, cols) with SI-conversion and validation.
- testCtorQuantity() - Method in class org.djunits.vecmat.storage.DoubleSparseValueTest
-
Test constructor(row,col,Quantity) including SI-conversion and null-check.
- testCtorQuantity() - Method in class org.djunits.vecmat.storage.FloatSparseValueTest
-
Test constructor(row,col,Q) including SI-conversion and null-check.
- testCtorQuantity2DArraySIConversion() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify constructor with
Q[][]validates inputs, performs a safe copy, and writes SI values; unit conversions must be respected (e.g., km to m, cm to m). - testCtorQuantityArray() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test constructor(Q[][]) for safe-copy, SI conversion, and ragged detection.
- testCtorSI() - Method in class org.djunits.vecmat.storage.DoubleSparseValueTest
-
Test constructor(row,col,si) and valid SI assignment.
- testCtorSI() - Method in class org.djunits.vecmat.storage.FloatSparseValueTest
-
Test constructor(row,col,si) and negative index detection.
- testCtorSparseQArray() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Constructor: Q[] sparseData + indexes + safe copy.
- testCtorValueUnit() - Method in class org.djunits.vecmat.storage.DoubleSparseValueTest
-
Test constructor(row,col,valueInUnit,unit) including toBaseValue conversion.
- testCtorValueUnit() - Method in class org.djunits.vecmat.storage.FloatSparseValueTest
-
Test constructor(row,col,valueInUnit,unit) including conversion to SI.
- testCustomUnitJerk() - Method in class org.djunits.unit.UnitTest
-
Verify that a newly defined unit (Jerk) behaves correctly: SI-prefix generation on a base-scale unit, Derivation and Units registry lookups, UnitInterface.ofSi(...) creates the correct quantity, quantityInUnit(...) sets SI value and display unit.
- testDefaultRowColMethods() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test DataGrid.getRowArray and getColArray.
- testDefaults() - Method in class org.djunits.formatter.MatrixFormatTest
-
Test the setting and resetting of defaults.
- testDefaults() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test the setting and resetting of defaults.
- testDefaults() - Method in class org.djunits.formatter.TableFormatTest
-
Test the setting and resetting of defaults.
- testDefaultsCol() - Method in class org.djunits.formatter.VectorFormatTest
-
Test the setting and resetting of defaults for a Col vector.
- testDefaultsRow() - Method in class org.djunits.formatter.VectorFormatTest
-
Test the setting and resetting of defaults for a Row vector.
- testDefaultToString() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Test default
toString()for a simple direction. - testDefaultToString() - Method in class org.djunits.quantity.def.QuantityTest
-
Test default
toString()for a simple length. - testDensityBasics() - Method in class org.djunits.quantity.DensityTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testDensityOperations() - Method in class org.djunits.quantity.DensityTest
-
Test arithmetic operations.
- testDeriveUnitInvalidFactors() - Method in class org.djunits.unit.UnitlessTest
-
Verify
deriveUnit(...)rejects invalid factors (0, < 0, non-finite) viaLinearScale's constructor. - testDeriveUnitLinearAndGuard() - Method in class org.djunits.unit.UnitTest
-
Verify that
AbstractUnit.deriveUnit(String, String, String, double, UnitSystem)multiplies linear factors and throws for non-linear scales. - testDeriveUnitLinearScale() - Method in class org.djunits.unit.UnitlessTest
-
Verify
Unitless.deriveUnit(String, String, String, double, UnitSystem)on a unit with linear scale composes factors multiplicatively. - testDeriveUnitThrowsForNonLinearScale() - Method in class org.djunits.unit.UnitlessTest
- testDeterminantAndTrace() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify determinant as scalar and as quantity, and trace.
- testDeterminantAndTrace() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify determinant as scalar and as quantity, and trace.
- testDeterminantTraceAdjugateIdentity() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify determinant as scalar and as quantity, and trace; also test the identity A · adj(A) = det(A) · I.
- testDiagonalScalars() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test diagonal scalar.
- testDiagonalScalars() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test diagonal scalar.
- testDiagonalScalars() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test diagonal scalar.
- testDiagonalScalars() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test diagonal scalar.
- testDiagonalSi() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test diagonal SI.
- testDiagonalSi() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test diagonal SI.
- testDiagonalSi() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test diagonal SI.
- testDiagonalSi() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test diagonal SI.
- testDiagonalVector() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test diagonal vector.
- testDiagonalVector() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test diagonal vector.
- testDiagonalVector() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test diagonal vector.
- testDiagonalVector() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test diagonal vector.
- testDimensionlessBasics() - Method in class org.djunits.quantity.DimensionlessTest
-
Test the basic features: constructors, constants, parsing, instantiate, siUnit, and ofSi.
- testDimensionlessOperations() - Method in class org.djunits.quantity.DimensionlessTest
-
Test arithmetic operations and reciprocal for Dimensionless.
- testDimless() - Method in class org.djunits.unit.si.SIUnitTest
-
Verifies the
SIUnit.DIMLESSinstance and basic renderers. - testDisplayTextual() - Method in class org.djunits.formatter.UnitFormatTest
-
Test display / textual format.
- testDisplayUnit() - Method in class org.djunits.formatter.UnitFormatTest
-
Test display unit.
- testDivideDimensionless() - Method in class org.djunits.quantity.AngularVelocityTest
-
Test divide(AngularVelocity) -> Dimensionless.
- testDivideElements() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Test divideElements(): Hadamard division of two tables.
- testDuplicateIdWithinSameClassThrows() - Method in class org.djunits.quantity.def.ReferenceTest
-
Adding two references with the same id to the same Reference subclass must throw an IllegalArgumentException on the second attempt.
- testDurationBasics() - Method in class org.djunits.quantity.DurationTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testDurationOperations() - Method in class org.djunits.quantity.DurationTest
-
Test arithmetic (divide, multiply, reciprocal) and add(Time) behavior.
- testElectricalCapacitanceBasics() - Method in class org.djunits.quantity.ElectricalCapacitanceTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testElectricalCapacitanceOperations() - Method in class org.djunits.quantity.ElectricalCapacitanceTest
-
Test arithmetic (divide, multiply) behavior.
- testElectricalConductanceBasics() - Method in class org.djunits.quantity.ElectricalConductanceTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testElectricalConductanceOperations() - Method in class org.djunits.quantity.ElectricalConductanceTest
-
Test arithmetic (divide, multiply, reciprocal) behavior.
- testElectricalInductanceBasics() - Method in class org.djunits.quantity.ElectricalInductanceTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testElectricalInductanceOperations() - Method in class org.djunits.quantity.ElectricalInductanceTest
-
Test arithmetic (divide) behavior.
- testElectricalResistanceBasics() - Method in class org.djunits.quantity.ElectricalResistanceTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testElectricalResistanceOperations() - Method in class org.djunits.quantity.ElectricalResistanceTest
-
Test arithmetic (divide, multiply, reciprocal) behavior.
- testElectricChargeBasics() - Method in class org.djunits.quantity.ElectricChargeTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testElectricChargeOperations() - Method in class org.djunits.quantity.ElectricChargeTest
-
Test arithmetic (divide variants) behavior.
- testElectricCurrentBasics() - Method in class org.djunits.quantity.ElectricCurrentTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testElectricCurrentOperations() - Method in class org.djunits.quantity.ElectricCurrentTest
-
Test arithmetic (divide, multiply) behavior.
- testElectricPotentialBasics() - Method in class org.djunits.quantity.ElectricPotentialTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testElectricPotentialOperations() - Method in class org.djunits.quantity.ElectricPotentialTest
-
Test arithmetic (divide, multiply) behavior.
- testEmptyStringEntriesInMaps() - Method in class org.djunits.unit.si.SIPrefixTest
-
Verify presence and numeric semantics for "" in the public maps now that you allow empty-string as the “no SI prefix” marker.
- testEnergyBasics() - Method in class org.djunits.quantity.EnergyTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testEnergyOperations() - Method in class org.djunits.quantity.EnergyTest
-
Test arithmetic (divide, multiply) behavior with related quantities.
- testEngineeringAlways() - Method in class org.djunits.formatter.NumberFormatTest
-
Test engineering formatting.
- testEnumConstantsPresence() - Method in class org.djunits.unit.si.SIPrefixTest
-
Enum constants presence and basic invariants.
- testEqualityContracts() - Method in class org.djunits.unit.system.UnitSystemTest
-
Equality/hashCode minimal contracts (identity-based unless overridden).
- Reflexivity (x.equals(x))
- Distinct user-defined instances are not the same reference; equals may or may not be overridden. - testEquals() - Method in class org.djunits.vecmat.storage.DataGridSiTest
-
Test equals() with other DataGridSi instances.
- testEquals0() - Method in class org.djunits.vecmat.storage.DataGridSiTest
-
Test equals() with other DataGridSi instances with zeroes.
- testEqualsAndHashCode() - Method in class org.djunits.unit.si.SIUnitTest
-
Equality and hashCode contracts across construction paths and negatives.
- testEqualsEps() - Method in class org.djunits.vecmat.storage.DataGridSiTest
-
Test equals(obj, eps) with other DataGridSi instances.
- testEqualsHash() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
equals/hashCodefor equal and different data. - testEqualsHash() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify equals/hashCode.
- testEqualsHash() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify equals/hashCode.
- testEqualsHashCode() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test equals(), hashCode().
- testEqualsHashCode() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test equals(), hashCode() for AbsVector1.
- testEqualsHashCode() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
- testEqualsHashCode() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify equals/hashCode and type-sensitive equality (Row vs Col), and that display unit changes do not affect equals.
- testEqualsHashCode() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test equals(), hashCode().
- testEqualsHashCode() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
- testEqualsHashCode() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify equals/hashCode and type-sensitive equality (Row vs Col), and that display unit changes do not affect equals.
- testEqualsHashCode() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test equals(), hashCode().
- testEqualsHashCode() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
- testEqualsHashCode() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test equals(), hashCode().
- testEqualsHashCode() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify equals() and hashCode() methods.
- testEqualsHashCode() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test equals(), hashCode().
- testEqualsHashCode() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify equality and hash code contracts.
- testEqualsHashCode() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test equals and hashCode semantics.
- testEqualsHashCode() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test equals() and hashCode().
- testEqualsHashCode() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Test equals and hashCode.
- testEqualsHashCode() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test equals(), hashCode().
- testEqualsHashCodeCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test equals(), hashCode() for column vectors.
- testEqualsHashCodeCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test equals(), hashCode() for column vectors.
- testEqualsHashCodeCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test equals(), hashCode() for column vectors.
- testEqualsHashCodeContracts() - Method in class org.djunits.unit.scale.ScaleTest
-
equals/hashCode: symmetry, transitivity, and inequality with close-but-different parameters.
- testEqualsHashCodeRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test equals(), hashCode() for row vectors.
- testEqualsHashCodeRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test equals(), hashCode() for row vectors.
- testEqualsHashCodeRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test equals(), hashCode() for row vectors.
- testEqualsHashCodeToString() - Method in class org.djunits.unit.UnitlessTest
-
Basic object contract checks for equals, hashCode, and toString.
- testEquivalentDoseBasics() - Method in class org.djunits.quantity.EquivalentDoseTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testEquivalentDoseOperations() - Method in class org.djunits.quantity.EquivalentDoseTest
-
Test arithmetic (divide) behavior.
- testExponentAlgebra() - Method in class org.djunits.unit.si.SIUnitTest
-
Exponent algebra: plus, minus, invert, pow.
- testFactorsExponentResolution() - Method in class org.djunits.unit.si.SIPrefixTest
-
FACTORS map: exponent → prefix.
- testFactoryArray() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.of(double[], Unit)rejects nulls, wrong lengths, and converts to SI. - testFactoryArray() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify of(double[], rows, cols, U) rejects nulls/bad sizes and converts display→SI.
- testFactoryArray() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify of(double[], rows, cols, U) rejects nulls/bad sizes and converts display→SI.
- testFactoryGrid() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.of(double[][], Unit)checks 4x4 shape and converts to SI. - testFactoryGrid() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify of(double[][],U) checks rectangular shape and converts display→SI.
- testFactoryGrid() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify of(double[][],U) checks rectangular shape and converts display→SI.
- testFactoryOfArray() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
Matrix1x1.of(double[], Unit)rejects nulls and wrong sizes, and converts using the display unit. - testFactoryOfArray() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
Matrix2x2.of(double[], Unit)rejects nulls and wrong sizes, and converts using the display unit. - testFactoryOfArray() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
Matrix3x3.of(double[], Unit)rejects nulls and wrong sizes, and converts using the display unit. - testFactoryOfGrid() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
Matrix1x1.of(double[][], Unit)validation and SI conversion. - testFactoryOfGrid() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
Matrix2x2.of(double[][], Unit)validation and SI conversion. - testFactoryOfGrid() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
Matrix3x3.of(double[][], Unit)validation and SI conversion. - testFactoryQuantityGrid() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify of(Q[][],U) accepts per-cell units via DenseDoubleData and sets display unit.
- testFactoryQuantityGrid() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify of(Q[][],U) accepts per-cell units via DenseDoubleData and sets display unit.
- testFixedEngineeringFallback() - Method in class org.djunits.formatter.NumberFormatTest
-
Test fixed formatting with engineering fallback.
- testFixedFloat() - Method in class org.djunits.formatter.NumberFormatTest
-
Test fixed float formatting.
- testFixedScientificFallback() - Method in class org.djunits.formatter.NumberFormatTest
-
Test fixed formatting with scientific fallback.
- testFlowMassBasics() - Method in class org.djunits.quantity.FlowMassTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testFlowMassOperations() - Method in class org.djunits.quantity.FlowMassTest
-
Test arithmetic operations with related quantities.
- testFlowVolumeBasics() - Method in class org.djunits.quantity.FlowVolumeTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testFlowVolumeOperations() - Method in class org.djunits.quantity.FlowVolumeTest
-
Test arithmetic operations with related quantities.
- testFluentAndRelative() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify setDisplayUnit returns
this(fluent) and that isRelative aligns with Length semantics. - testFluentAndRelative() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify setDisplayUnit returns
this(fluent) and that isRelative aligns with Length semantics. - testFluentAndToString() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify that
VectorMatrix.setDisplayUnit(org.djunits.unit.Unit)returnsthisfor fluent usage and thatVectorMatrix.toString()andValue.format(org.djunits.unit.Unit)contain correct orientation and unit abbreviation. - testForceBasics() - Method in class org.djunits.quantity.ForceTest
-
Test the basic features: constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testForceOperations() - Method in class org.djunits.quantity.ForceTest
-
Test arithmetic operations with related quantities.
- testFormatString() - Method in class org.djunits.formatter.NumberFormatTest
-
Test format string.
- testFormattingVariants() - Method in class org.djunits.unit.si.SIUnitTest
-
Formatting variants: plain (with/without separator), caret powers, and HTML, for two representative units.
- testFrequencyBasics() - Method in class org.djunits.quantity.FrequencyTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testFrequencyOperations() - Method in class org.djunits.quantity.FrequencyTest
-
Test arithmetic operations.
- testGenerateSiPrefixes() - Method in class org.djunits.unit.UnitTest
-
SI-prefix generation: guard paths and positive paths.
- testGetAndGetDataArray() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test getDataArray generates dense layout correctly and is a safe copy.
- testGetAndGetDataArray() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
get() and getSiArray(): binary search hit/miss + safe copy.
- testGetBounds() - Method in class org.djunits.vecmat.storage.DataGridSiTest
-
Test get() with wrong bounds.
- testGetColArray() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify that
DataGridSi.getColArray(int)returns a dense copy with correct values and enforces bounds. - testGetColArray() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test
getColArrayincluding bounds checking. - testGetDataArrayCopy() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Verify that
getSiArray()returns a *new* double array each call and does not expose the internal float[]. - testGetOutOfBounds() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify that
get(int,int)throws for all out-of-bounds row/col combinations. - testGetOutOfBounds() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test all out-of-bounds read conditions.
- testGetReferenceMapIsSnapshot() - Method in class org.djunits.quantity.def.ReferenceTest
-
getReferenceMap() must return a snapshot (defensive copy) of the internal registry of the corresponding Reference subclass.
- testGetRowAndColumnScalars() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test 0-based scalar row access.
- testGetRowAndColumnScalars() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test 0-based scalar row access.
- testGetRowAndColumnScalars() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test 0-based scalar row and column access.
- testGetRowAndColumnScalars() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test 0-based scalar row access.
- testGetRowAndColumnScalars() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test 0-based scalar row and column access.
- testGetRowAndColumnScalars() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test 0-based scalar row and column access.
- testGetRowAndColumnSi() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test 0-based row and column SI access.
- testGetRowAndColumnSi() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test 0-based row and column SI access.
- testGetRowAndColumnSi() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test 0-based row and column SI access.
- testGetRowAndColumnSi() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test 0-based row and column SI access.
- testGetRowAndColumnSi() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test 0-based row and column SI access.
- testGetRowAndColumnSi() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test 0-based row and column SI access.
- testGetRowAndColumnVector() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test 0-based vector row and column access.
- testGetRowAndColumnVector() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test 0-based vector row and column access.
- testGetRowAndColumnVector() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test 0-based vector row and column access.
- testGetRowAndColumnVector() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test 0-based vector row and column access.
- testGetRowAndColumnVector() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test 0-based vector row and column access.
- testGetRowAndColumnVector() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test 0-based vector row and column access.
- testGetRowArray() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify that
DataGridSi.getRowArray(int)returns a dense copy with correct values and enforces bounds. - testGetRowArray() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test
getRowArrayincluding bounds checking. - testGetScalarArray() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify
Vector.getScalarArray()returns a Q[] (not Object[]) with the correct order and values. - testGetScalarArray() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify
Vector.getScalarArray()returns a Q[] (not Object[]) with the correct order and values. - testGetScalarArray() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify getScalarArray returns a Q[3] with values in order x,y,z (Row and Col).
- testGetScalarArray() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify that
VectorN.getScalarArray()returns aQ[]of correct length and component types, with entries in the expected x..n order. - testGetSiPrefixPerValidKeys() - Method in class org.djunits.unit.si.SIPrefixTest
-
getSiPrefixPer(String) should return proper results for valid keys, including the empty string "" to indicate "no SI prefix" in the per-unit set.
- testGetSiPrefixValidKeys() - Method in class org.djunits.unit.si.SIPrefixTest
-
getSiPrefix(String) should return proper results for valid keys, including the empty string "" to indicate "no SI prefix".
- testGradeScaleAdditional() - Method in class org.djunits.unit.scale.ScaleTest
-
GradeScale: more trigonometric sanity tests and round-trips.
- testGridExtraction() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify grid extraction helpers on
VectorMatrix. - testGridExtraction() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify grid extraction helpers on
VectorMatrix. - testGroupingSeparator() - Method in class org.djunits.formatter.NumberFormatTest
-
Test grouping separator.
- testHadamard() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify Hadamard element-wise operations: invert, multiply, divide.
- testHadamard() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify Hadamard element-wise operations: invert, multiply, divide.
- testHadamard() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify Hadamard element-wise operations: invert, multiply, divide.
- testHadamard() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify element-wise Hadamard operations and unit composition.
- testHadamard() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify Hadamard invert/multiply/divide with unit composition.
- testHadamardCol() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify Hadamard element-wise operations and correct unit composition.
- testHadamardCol() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify Hadamard element-wise operations and correct unit composition.
- testHadamardCol() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify Hadamard operations and result-unit composition (Col).
- testHadamardCol() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify element-wise Hadamard operations on a
VectorN.Col:invertEntries(),multiplyEntries(V),divideEntries(V)and validate result-unit composition. - testHadamardRow() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify Hadamard element-wise operations and correct unit composition.
- testHadamardRow() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify Hadamard operations and result-unit composition (Row).
- testHadamardRow() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify element-wise Hadamard operations on a
VectorN.Row:invertEntries(),multiplyEntries(V),divideEntries(V)and validate result-unit composition viaSIUnit.add(SIUnit, SIUnit)andSIUnit.subtract(SIUnit, SIUnit). - testHashCode() - Method in class org.djunits.vecmat.storage.DataGridSiTest
-
Test hashCode() with other DataGridSi instances.
- testIdentityAndLinearRoundTrip() - Method in class org.djunits.unit.scale.ScaleTest
-
Extra round-trip checks for IdentityScale and LinearScale.
- testIlluminanceBasics() - Method in class org.djunits.quantity.IlluminanceTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testIlluminanceOperations() - Method in class org.djunits.quantity.IlluminanceTest
-
Test arithmetic operations.
- testIndexing() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify
Vector.get(int)andVector.get(int)with valid and invalid indices; this test ensures the index addressing follows the intended semantics: a row vector reads from(0, index-1), a column vector from(index-1, 0). - testIndexingAndValues() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Ensure index-related methods do not throw for valid bounds and that value retrieval uses display unit.
- testIndexingAndValues() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Ensure index-related methods do not throw for valid bounds and that value retrieval uses display unit.
- testIndexingAndValues() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Ensure index-related methods do not throw for valid bounds and that value retrieval uses display unit.
- testInstantiate() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test instantiate() and instantiateSi() for column matrices.
- testInstantiate() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
Matrix1x1.instantiateSi(double[])creates a new matrix with the same display unit and the provided SI values. - testInstantiate() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
Matrix2x2.instantiateSi(double[])creates a new matrix with the same display unit and the provided SI values. - testInstantiate() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
Matrix3x3.instantiateSi(double[])creates a new matrix with the same display unit and the provided SI. - testInstantiateCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test instantiate() and instantiateSi() for column matrices.
- testInstantiateCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test instantiate() and instantiateSi() for column matrices.
- testInstantiateCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test instantiate() and instantiateSi() for column matrices.
- testInstantiateNew() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test instantiateNew method.
- testInstantiateNew() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Test instantiateNew.
- testInstantiateNewError() - Method in class org.djunits.vecmat.storage.DataGridSiTest
-
Test instantiateNew() with a length error for different types.
- testInstantiateNewNewDims() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.instantiateNew(double[], int, int)for new shape and argument validation. - testInstantiateNewNewDims() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test
instantiateNew(double[], r, c)for correct reshape and error handling. - testInstantiateNewSameDims() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.instantiateNew(double[])returns a new instance with same shape and exposed backing. - testInstantiateNewSameDims() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test
instantiateNew(double[])conversion double→float and geometry preservation. - testInstantiateRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test instantiate() and instantiateSi() for row matrices.
- testInstantiateRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test instantiate() and instantiateSi() for row matrices.
- testInstantiateRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test instantiate() and instantiateSi() for row matrices.
- testInstantiateSi() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test instantiateSi().
- testInstantiateSi() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test instantiateSi().
- testInstantiateSi() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test instantiateSi().
- testInstantiateSi() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test instantiateSi().
- testInstantiateSi() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.instantiateSi(double[])preserves display unit and adopts SI values. - testInstantiateSi() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test instantiateSi().
- testInstantiateSi() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify instantiateSi preserves display unit and adopts provided SI.
- testInstantiateSi() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test instantiateSi().
- testInstantiateSi() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Test instantiateSi(double[]): produces new instance with SI data replaced.
- testInstantiateSiArray() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify
Vector1.instantiateSi(double[])delegates to the (xSi) variant and enforces length=1. - testInstantiateSiArray() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify
Vector2.instantiateSi(double[])delegates to the (xSi,ySi) variant and enforces length=2. - testInstantiateSiArrayCol() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify instantiateSi(double[]) enforces length=3 and delegates (Col).
- testInstantiateSiArrayCol() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify instantiateSi(double[]) enforces length=3 and delegates (Col).
- testInstantiateSiArrayRow() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify instantiateSi(double[]) enforces length=3 and delegates (Row).
- testInstantiateSiArrayRow() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify instantiateSi(double[]) enforces length=3 and delegates (Row).
- testIntegrationWithSIUnit() - Method in class org.djunits.unit.system.UnitSystemTest
-
Integration test: SIUnit.getUnitSystem() should report an SI-based system (e.g., SI_BASE).
- testInverseAdjugate() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.inverse()throws on singular andMatrixNxN.adjugate()shape. - testInverseAndIdentity() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
Matrix1x1.inverse()and multiplication with its inverse gives the identity (numerically). - testInverseAndIdentity() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
Matrix2x2.inverse()and multiplication with its inverse gives the identity (numerically). - testInverseAndIdentity() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
Matrix3x3.inverse()and multiplication with its inverse gives the identity (numerically). - testInverseThrowsOnSingular() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify that
Matrix1x1.inverse()throws on singular matrices. - testInverseThrowsOnSingular() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify that
Matrix2x2.inverse()throws on singular matrices. - testInverseThrowsOnSingular() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify that
Matrix3x3.inverse()throws on singular matrices. - testInvertElements() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Test invertElements(): works elementwise, produces SIQuantity output.
- testIterator() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test iterator for AbsVector1.
- testIterator() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify the iterator over Q values yields x in the vector's display unit and is consistent with get().
- testIterator() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify the iterator over Q values yields x then y in the vector's display unit and is consistent with get().
- testIterator() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify iterator order and unit for Row and Col.
- testIterator() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify that the
Iterableinterface is implemented correctly: the iterator produces Q values in natural order and throwsNoSuchElementExceptionat the end. - testIteratorCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test iterator for column vectors.
- testIteratorCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test iterator for column vectors.
- testIteratorCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test iterator for column vectors.
- testIteratorRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test iterator for row vectors.
- testIteratorRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test iterator for row vectors.
- testIteratorRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test iterator for row vectors.
- testKiloAndPerKiloBehavior() - Method in class org.djunits.unit.si.SIPrefixTest
-
KILO-default maps: KILO and PER_KILO.
- testLargeMagnitudeFixed() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Test magnitude change with decimals and width.
- testLargeMagnitudeFixed() - Method in class org.djunits.quantity.def.QuantityTest
-
Test magnitude change with decimals and width.
- testLengthBasicsAndParsing() - Method in class org.djunits.quantity.LengthTest
-
Test constructors, constants, parsing (incl. error branches), SI conversions, instantiate, siUnit, and ofSi.
- testLengthErrors() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test length errors.
- testLengthErrors() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Test length errors.
- testLengthOperations() - Method in class org.djunits.quantity.LengthTest
-
Test arithmetic operations (divide/multiply variants) and reciprocal.
- testLinearDensityBasics() - Method in class org.djunits.quantity.LinearDensityTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testLinearDensityOperations() - Method in class org.djunits.quantity.LinearDensityTest
-
Test arithmetic operations.
- testLinearObjectDensityBasics() - Method in class org.djunits.quantity.LinearObjectDensityTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testLinearObjectDensityOperations() - Method in class org.djunits.quantity.LinearObjectDensityTest
-
Test arithmetic operations.
- testLinearScaleNumDenConstructorValidation() - Method in class org.djunits.unit.scale.ScaleTest
-
Constructor validation for LinearScale(numerator, denominator).
- testLinearScaleNumDenCorrectness() - Method in class org.djunits.unit.scale.ScaleTest
-
Correctness for LinearScale(numerator, denominator) using the km/h ↔ m/s example.
- testLocaleFormat() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Test locale influence on decimal separator.
- testLocaleFormat() - Method in class org.djunits.quantity.def.QuantityTest
-
Test locale influence on decimal separator.
- testLocalizedAbbreviationsResolveForAllLocales() - Method in class org.djunits.unit.LocaleFilesTest
-
For every locale, ensure each 'unit.
- testLocalizedDisplayAndName() - Method in class org.djunits.unit.UnitsTest
-
Verify localized display and name lookup and fallback behavior. - Present localized display (e.g., DE Ångström has display U+212B) - Fallback to stored display/name when not present in the bundle.
- testLocalizedQuantityNameFallback() - Method in class org.djunits.unit.UnitsTest
-
Verify
Units.localizedQuantityName(Locale, String)falls back to the provided default when the key is missing for a given locale. - testLocalizedResolveFrAndDe() - Method in class org.djunits.unit.UnitsTest
-
Verify localized resolution for French and German where abbreviations differ from US. - FR:
unit.Frequency.rpm.abbr = tr/min- DE:unit.Power.hp(M).abbr = PS,unit.Speed.kt.abbr = kn - testLookupInputValidationDesired() - Method in class org.djunits.unit.si.SIPrefixTest
-
Lookup functions: desired public input checking (null/blank/unknown).
- testLuminousFluxBasics() - Method in class org.djunits.quantity.LuminousFluxTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testLuminousFluxOperations() - Method in class org.djunits.quantity.LuminousFluxTest
-
Test arithmetic operations.
- testLuminousIntensityBasics() - Method in class org.djunits.quantity.LuminousIntensityTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testLuminousIntensityOperations() - Method in class org.djunits.quantity.LuminousIntensityTest
-
Test arithmetic operations.
- testMagneticFluxBasics() - Method in class org.djunits.quantity.MagneticFluxTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testMagneticFluxDensityBasics() - Method in class org.djunits.quantity.MagneticFluxDensityTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testMagneticFluxDensityOperations() - Method in class org.djunits.quantity.MagneticFluxDensityTest
-
Test arithmetic operations.
- testMagneticFluxOperations() - Method in class org.djunits.quantity.MagneticFluxTest
-
Test arithmetic operations.
- testMapsAreUnmodifiable() - Method in class org.djunits.unit.si.SIPrefixTest
-
Public maps should be unmodifiable.
- testMassBasics() - Method in class org.djunits.quantity.MassTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testMassOperations() - Method in class org.djunits.quantity.MassTest
-
Test arithmetic operations.
- testMatrix1x1OfDoubleArray() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
- testMatrix1x1OfDoubleGrid() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Exhaustive test of
Matrix1x1.of(double[][], Unit). - testMatrix1x1OfQuantity() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Test
Matrix1x1.of(Quantity). - testMatrix1x1OfQuantityArray() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Test
Matrix1x1.of(Quantity[]). - testMatrix1x1OfQuantityGrid() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Exhaustive test of
Matrix1x1.of(Quantity[][]). - testMatrix1x1OfScalar() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
- testMatrix1x1OfSiDoubleArray() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
- testMatrix1x1OfSiDoubleGrid() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Exhaustive test of
Matrix1x1.ofSi(double[][], Unit). - testMatrix3x3OfDoubleArray() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Test
Matrix3x3.of(double[], Unit)for nulls, wrong sizes, and unit conversion. - testMatrix3x3OfDoubleGridAllCornerCases() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Exhaustive grid validation for
Matrix3x3.of(double[][], Unit). - testMatrix3x3OfQuantityArray() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Test
Matrix3x3.of(Quantity[]). - testMatrix3x3OfQuantityGridAllCornerCases() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Exhaustive grid validation for
Matrix3x3.of(Quantity[][]). - testMatrix3x3OfSiDoubleArray() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
- testMatrix3x3OfSiDoubleGridAllCornerCases() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Exhaustive grid validation for
Matrix3x3.ofSi(double[][], Unit). - testMatrixFormat() - Method in class org.djunits.formatter.MatrixFormatTest
-
Test format settings for the matrix.
- testMatrixMultiply() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify standard 1x1 matrix multiplication.
- testMatrixMultiply() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify standard 2x2 matrix multiplication.
- testMatrixMultiply() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify standard 3x3 matrix multiplication (A·B).
- testMatrixNxMAsMatrixConversions() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify MatrixNxM conversions to fixed-size matrices preserve SI data and display unit, and that shape checks throw IllegalStateException for the mismatch branches covered.
- testMatrixNxMAsQuantityTable() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify MatrixNxM conversions to quantity table preserve SI data and display unit, and that shape checks throw IllegalStateException for the mismatch branches covered.
- testMatrixNxMAsVectorConversions() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify MatrixNxM conversions to fixed-size vectors and matrices preserve SI data and display unit, and that shape checks throw IllegalStateException with both row- and column-mismatch branches covered.
- testMatrixTimesVector() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify multiplication with a column vector.
- testMatrixTimesVector() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify multiplication with a column vector.
- testMatrixTimesVector() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify multiplication with a column vector (A·v).
- testMgetRowAndColumnScalars() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test 1-based scalar row and column access.
- testMgetRowAndColumnScalars() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test 1-based scalar row and column access.
- testMgetRowAndColumnScalars() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test 1-based scalar row and column access.
- testMgetRowAndColumnScalars() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test 1-based scalar row and column access.
- testMgetRowAndColumnScalars() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test 1-based scalar row and column access.
- testMgetRowAndColumnScalars() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test 1-based scalar row and column access.
- testMgetRowAndColumnSi() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test 1-based row and column SI access.
- testMgetRowAndColumnSi() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test 1-based row and column SI access.
- testMgetRowAndColumnSi() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test 1-based row and column SI access.
- testMgetRowAndColumnSi() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test 1-based row and column SI access.
- testMgetRowAndColumnSi() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test 1-based row and column SI access.
- testMgetRowAndColumnSi() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test 1-based row and column SI access.
- testMgetRowAndColumnVector() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test 1-based vector row and column access.
- testMgetRowAndColumnVector() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test 1-based vector row and column access.
- testMgetRowAndColumnVector() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test 1-based vector row and column access.
- testMgetRowAndColumnVector() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test 1-based vector row and column access.
- testMgetRowAndColumnVector() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test 1-based vector row and column access.
- testMgetRowAndColumnVector() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test 1-based vector row and column access.
- testMinMaxMedian() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test min(), max() and median().
- testMinMaxMedian() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test min(), max() and median() for AbsVector1.
- testMinMaxMedian() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test min(), max() and median().
- testMinMaxMedian() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test min(), max() and median().
- testMinMaxMedian() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test min(), max() and median().
- testMinMaxMedian() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test min(), max() and median().
- testMinMaxMedian() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test min(), max() and median().
- testMinMaxMedianCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test min(), max() and median() for column vectors.
- testMinMaxMedianCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test min(), max() and median() for column vectors.
- testMinMaxMedianCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test min(), max() and median() for column vectors.
- testMinMaxMedianRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test min(), max() and median() for row vectors.
- testMinMaxMedianRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test min(), max() and median() for row vectors.
- testMinMaxMedianRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test min(), max() and median() for row vectors.
- testMomentumBasics() - Method in class org.djunits.quantity.MomentumTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testMomentumOperations() - Method in class org.djunits.quantity.MomentumTest
-
Test arithmetic operations.
- testMultiply() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify matrixxmatrix and matrixxvector multiplication with unit composition.
- testMultiply2x2And3x3() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify Nx2 x 2x2 and Nx3 x 3x3 multiplication variants.
- testMultiplyDivide() - Method in class org.djunits.quantity.AbsorbedDoseTest
-
Test multiply and divide.
- testMultiplyDivide() - Method in class org.djunits.quantity.AccelerationTest
-
Test multiply and divide.
- testMultiplyDivide() - Method in class org.djunits.quantity.AmountOfSubstanceTest
-
Test multiply and divide.
- testMultiplyDivide() - Method in class org.djunits.quantity.AngleTest
-
Test multiply and divide methods specific to Angle.
- testMultiplyDivide() - Method in class org.djunits.quantity.AngularAccelerationTest
-
Test multiply and divide methods specific to AngularAcceleration.
- testMultiplyElements() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Test multiplyElements(): Hadamard product of two tables.
- testMultiplyGeneral() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify general (NxM)x(MxP) multiplication and unit composition.
- testMultiplyMatrix1x1() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(Mx1) x (1x1) -> (Mx1).
- testMultiplyMatrix2x2() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(Mx2) x (2x2) -> (Mx2).
- testMultiplyMatrix3x3() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(Mx3) x (3x3) -> (Mx3).
- testMultiplyMatrixNxNDoubleAndFloatBranches() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(NxM) x (MxP) where rhs is NxN: verify both branches of getDataGrid().isDouble() by constructing a double-backed and a float-backed MatrixNxN.
- testMultiplyNxMWithNxMDoubleRhs() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify (2x3) x (3x2) multiplication with a double-backed RHS matrix: Numeric correctness via getSiArray() and si(r,c). Unit composition via as(Area.Unit.*). Result shape (2x2).
- testMultiplyNxMWithNxMFloatRhs() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify (2x3) x (3x2) multiplication with a float-backed RHS matrix to cover the DenseFloatDataSi branch.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Test multiply/divide by scalar and as() method.
- testMultiplyScalarAs() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Test multiply/divide by scalar and as() method.
- testMultiplyVector() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify A(Nx2)·v2 and A(Nx3)·v3 and A(NxM)·vN return VectorN.Col with correct unit.
- testMultiplyVector1() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(Mx1) x (1x1) -> (Mx1) MatrixNxM<SIQuantity, SIUni>.
- testMultiplyVector2Col() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(Mx2) x (2x1) -> (Mx1) VectorN.Col<SIQuantity, SIUnit>.
- testMultiplyVector3Col() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(Mx3) x (3x1) -> (Mx1) VectorN.Col<SIQuantity, SIUnit>.
- testMultiplyVectorNCol() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
(MxN) x (Nx1) -> (Mx1) VectorN.Col<SIQuantity, SIUnit>.
- testNegateAbsScaleBy() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
- testNegateAbsScaleBy() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
- testNegateAbsScaleBy() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
negate(),abs(), andscaleBy(double). - testNegativeQuantity() - Method in class org.djunits.quantity.def.QuantityTest
-
Test negative quantity formatting.
- testNineArgConstructor() - Method in class org.djunits.unit.si.SIUnitTest
-
Verifies the 9-argument convenience constructor stores exponents in the documented order.
- testNnz() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify
VectorMatrix.nnz()andVectorMatrix.nnz(). - testNnz() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
VectorMatrix.nnz()andVectorMatrix.nnz(). - testNormalize() - Method in class org.djunits.quantity.AngleTest
-
Test normalize for both double and Angle overloads.
- testNormFrobenius() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify Frobenius norm.
- testNorms() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify Frobenius norm and default
norm(). - testNorms() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify
norm()equalsnormL2()and norms compute correct quantities. - testNorms() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify Frobenius norm and default
norm(). - testNorms() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify
norm()equalsnormL2()and norms compute correct quantities. - testNorms() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify norm(), normL1(), normL2(), normLp(p), normLinf() (Row & Col).
- testNorms() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify
norm(),normL1(),normL2(),normLp(int), andnormLinf()for both Row and Col vectors;norm()is expected to equalnormL2()per theNormeddefault. - testObjectContracts() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify equals/hashCode and type sensitivity; toString contains orientation and unit; setDisplayUnit is fluent.
- testOfArrayUnitHappy() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(double[], unit) happy path.
- testOfArrayUnitNullArray() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(double[], unit) with null array.
- testOfArrayUnitWrongLength() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(double[], unit) with wrong length.
- testOfCol() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Test the of() methods for Col.
- testOfDoubleArray() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Test
Matrix2x2.of(double[], Unit)for nulls, wrong sizes, and unit conversion. - testOfDoubleArray() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.of(double[], Unit)for null checks, non-square sizes, and SI conversion using different length units. - testOfDoubleArray() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Test
MatrixNxM.of(double[], int, int, Unit)for nulls, invalid sizes, and SI conversion usingLength. - testOfDoubleArray() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
QuantityTable.of(double[], int, int, Unit)for null handling, size validation, and SI conversion usingLength. - testOfDoubleArrayUnit() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test of(double[], r, c, Unit): nulls and SI conversion.
- testOfDoubleArrayWithUnit() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.of(double[], int, int, Unit)converts to SI and performs a safe copy. - testOfDoubleGridAllCornerCases() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Exhaustive test of
Matrix2x2.of(double[][], Unit)grid validation and conversion. - testOfDoubleGridUnit() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test of(double[][], Unit): nulls, ragged, SI conversion.
- testOfDoubleGridWithUnit() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.of(double[][], Unit)for unit conversion and structural validation usingDuration. - testOfDoubleGridWithUnit() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Test
MatrixNxM.of(double[][], Unit)for unit conversion usingDuration. - testOfDoubleGridWithUnit() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
QuantityTable.of(double[][], Unit)for SI conversion usingDuration. - testOfDoubleUnitHappy() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(double, unit) happy path.
- testOfDoubleUnitNull() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(double, null) must throw.
- testOfFloatArrayUnit() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test of(float[], r, c, Unit): nulls and SI conversion.
- testOfFloatGridUnit() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test of(float[][], Unit): nulls, ragged, SI conversion.
- testOfQuantityArray() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Test
Matrix2x2.of(Quantity[])for nulls, wrong size, and conversion. - testOfQuantityArray() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.of(Quantity[])for nulls, square-size validation, and SI conversion. - testOfQuantityArray() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Test
MatrixNxM.of(Quantity[], int, int)for nulls, size errors, and SI conversion. - testOfQuantityArray() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.of(Quantity[], int, int)converts quantities to SI and enforces null checks. - testOfQuantityArray() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test of(Q[], r, c): nulls and SI conversion.
- testOfQuantityArray() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
QuantityTable.of(Quantity[], int, int)for null handling, size validation, and SI conversion. - testOfQuantityArrayHappy() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(Q[]) happy path.
- testOfQuantityArrayNull() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(Q[]) with null array.
- testOfQuantityArrayWrongLength() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(Q[]) with wrong length.
- testOfQuantityGrid() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.of(Quantity[][])for null checks, square validation, and SI conversion. - testOfQuantityGrid() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Test
MatrixNxM.of(Quantity[][])for nulls, empty grids, and SI conversion. - testOfQuantityGrid() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test of(Q[][]): nulls, ragged, element nulls, SI conversion.
- testOfQuantityGrid() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
QuantityTable.of(Quantity[][])for null handling, empty grids, and SI conversion. - testOfQuantityGridAllCornerCases() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Exhaustive test of
Matrix2x2.of(Quantity[][])grid validation. - testOfQuantityHappy() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(Q) happy path.
- testOfQuantityNull() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.of(Q) with null quantity.
- testOfRow() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Test the of() methods for Row.
- testOfSiArrayHappy() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.ofSi(double[], unit) happy path.
- testOfSiArrayNullArray() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.ofSi(double[], unit) with null array.
- testOfSiArrayWrongLength() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.ofSi(double[], unit) with wrong length.
- testOfSiConcreteSmoke() - Method in class org.djunits.unit.UnitTest
-
Smoke-tests that
Unit.ofSi(double)on concrete units produces the right quantity type and SI value. - testOfSiCreatesQuantity() - Method in class org.djunits.unit.si.SIUnitTest
-
Smoke test:
SIUnit.ofSi(double)returns anSIQuantity. - testOfSiDoubleArray() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Test
Matrix2x2.ofSi(double[], Unit)for nulls, wrong sizes, and display unit handling. - testOfSiDoubleArray() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.ofSi(double[], Unit)for null checks, square validation, and display-unit handling. - testOfSiDoubleArray() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Test
MatrixNxM.ofSi(double[], int, int, Unit)for nulls, size errors, and display-unit handling. - testOfSiDoubleArray() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.ofSi(double[], int, int)performs a safe copy and preserves shape. - testOfSiDoubleArray() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test ofSi(double[], r, c): nulls, size, safe copy.
- testOfSiDoubleArray() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
QuantityTable.ofSi(double[], int, int, Unit)for null handling, size validation, and display unit preservation. - testOfSiDoubleGrid() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
MatrixNxN.ofSi(double[][], Unit)for nulls, non-square grids, and SI handling. - testOfSiDoubleGrid() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Test
MatrixNxM.ofSi(double[][], Unit)for nulls, empty grids, ragged grids, and SI usage. - testOfSiDoubleGrid() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test ofSi(double[][]): nulls, ragged rows, SI preservation.
- testOfSiDoubleGrid() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
QuantityTable.ofSi(double[][], Unit)for null handling, empty grids, ragged grids, and SI usage. - testOfSiDoubleGridAllCornerCases() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Exhaustive test of
Matrix2x2.ofSi(double[][], Unit)grid validation. - testOfSiFloatArray() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test ofSi(float[], r, c): nulls, size, safe copy.
- testOfSiFloatGrid() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test ofSi(float[][]): nulls, ragged rows, safe copy.
- testOfSiLengthMismatch() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify
DenseDoubleDataSi.ofSi(double[], int, int)rejects mismatched sizes. - testOfSiLengthMismatch() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Verify
DenseDoubleDataSi.ofSi(double[], int, int)rejects mismatched sizes. - testOfSiScalarHappy() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.ofSi(double, unit) happy path.
- testOfSiScalarNullUnit() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Vector1.ofSi(double, null) must throw.
- testOperations() - Method in class org.djunits.quantity.TorqueTest
-
Test all arithmetic operations provided by Torque.
- testOperations() - Method in class org.djunits.quantity.VolumetricObjectDensityTest
-
Test all arithmetic operator methods.
- testOperationsAndDisplayPropagation() - Method in class org.djunits.quantity.DirectionTest
-
Test arithmetic with proper reference handling and display-unit propagation.
- testParsing() - Method in class org.djunits.quantity.PositionTest
-
Test parsing of textual values via valueOf(text, ref) and of(value, unitString, ref).
- testParsing() - Method in class org.djunits.quantity.TimeTest
-
Test parsing of textual values via valueOf(text, reference) and of(value, unitString, reference), including error paths.
- testParsing() - Method in class org.djunits.unit.si.SIUnitTest
-
Parsing: happy-path and edge cases, including disambiguation of
srvssandmolvsm. - testParsingErrorBranches() - Method in class org.djunits.quantity.FrequencyTest
-
Test error branches of valueOf and of (null, empty, unknown unit, and general parse error surface).
- testParsingErrorBranches() - Method in class org.djunits.quantity.LinearDensityTest
-
Test error branches of valueOf and of (null, empty, unknown unit, and general parse error surface).
- testParsingErrorBranches() - Method in class org.djunits.quantity.LinearObjectDensityTest
-
Test error branches of valueOf and of (null, empty, unknown unit, and general parse error surface).
- testParsingErrorBranches() - Method in class org.djunits.quantity.LuminousFluxTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.LuminousIntensityTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.MagneticFluxDensityTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.MagneticFluxTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.MassTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.MomentumTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.PowerTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.PressureTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.RadioActivityTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.SolidAngleTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.SpeedTest
-
Test valueOf/of error branches with the custom Throw/NumberParser logic.
- testParsingErrorBranches() - Method in class org.djunits.quantity.TemperatureDifferenceTest
-
Test error branches of valueOf and of (null, empty, unknown unit, malformed number).
- testParsingErrorBranches() - Method in class org.djunits.quantity.VolumeTest
-
Test valueOf/of error branches with the custom Throw/NumberParser logic.
- testParsingErrors() - Method in class org.djunits.quantity.TorqueTest
-
Test all parsing error branches: null, empty, unknown unit, malformed numeric value, and of() error paths.
- testParsingErrors() - Method in class org.djunits.quantity.VolumetricObjectDensityTest
-
Test parsing error branches: null text, empty text, unknown unit, malformed number, null unitString, empty unitString, unknown unitString.
- testParsingWithDerivedAndPrefixedUnits() - Method in class org.djunits.quantity.LinearObjectDensityTest
-
Test parsing with SI-prefixed and imperial units resolved via Units registry.
- testParsingWithDerivedUnits() - Method in class org.djunits.quantity.LinearDensityTest
-
Test valueOf/of with a derived linear unit (register unit first) and unit resolution.
- testPerKiloUnitGenerationAndSemantics() - Method in class org.djunits.unit.UnitTest
-
Verify per-kilo prefix generation and semantics for a test-local quantity
PerMass(unit 1/kg). - testPerUnitPrefixesValues() - Method in class org.djunits.unit.si.SIPrefixTest
-
PER_UNIT (reciprocal) prefixes map: presence and representative reciprocal values.
- testPowerBasics() - Method in class org.djunits.quantity.PowerTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testPowerOperations() - Method in class org.djunits.quantity.PowerTest
-
Test arithmetic operations.
- testPredefinedSystems() - Method in class org.djunits.unit.system.UnitSystemTest
-
Predefined systems must be present, non-null, and have non-empty id and name.
- testPrefixedAndCgsUnits() - Method in class org.djunits.quantity.MagneticFluxDensityTest
-
Test parsing and numeric correctness with prefixed SI units and CGS Gauss.
- testPrefixedAndCgsUnits() - Method in class org.djunits.quantity.MagneticFluxTest
-
Test parsing and numeric correctness with prefixed SI units and CGS unit "Mx".
- testPrefixPostfix() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test prefix separator between number and unit, and postfix after the unit.
- testPressureBasics() - Method in class org.djunits.quantity.PressureTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testPressureOperations() - Method in class org.djunits.quantity.PressureTest
-
Test arithmetic operations.
- testPrimaryConstructorLinearScale() - Method in class org.djunits.unit.UnitlessTest
-
Verify the primary constructor
Unitless(String, String, double, UnitSystem)sets id/name/system and creates aLinearScalewith the requested positive factor. - testProtectedConstructor() - Method in class org.djunits.vecmat.storage.SparseDoubleDataSiTest
-
Test protected constructor(double[], int[], r, c) via reflection-like access through copy().
- testProtectedConstructor() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
Test protected constructor(float[], int[], r, c) via reflection-like access through copy().
- testQuantityTableAsMatrixConversions() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify QuantityTable conversions to fixed-size matrices preserve SI data and display unit, and that shape checks throw IllegalStateException for the mismatch branches covered.
- testQuantityTableAsMatrixNxM() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify QuantityTable conversions to quantity table preserve SI data and display unit, and that shape checks throw IllegalStateException for the mismatch branches covered.
- testQuantityTableAsVectorConversions() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify QuantityTable conversions to fixed-size vectors and matrices preserve SI data and display unit, and that shape checks throw IllegalStateException with both row- and column-mismatch branches covered.
- testRadioActivityBasics() - Method in class org.djunits.quantity.RadioActivityTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testRadioActivityOperations() - Method in class org.djunits.quantity.RadioActivityTest
-
Test arithmetic operations.
- testReferenceBehavior() - Method in class org.djunits.quantity.PositionTest
-
Test that Position.Reference.add and get work, and test simple reference offset transformations with relativeTo.
- testReferenceBehavior() - Method in class org.djunits.quantity.TimeTest
-
Test Reference.get for built-ins and simple add/get with offset.
- testReferenceConversion() - Method in class org.djunits.quantity.TemperatureTest
-
Test the correctness of reference conversions using relativeTo(...), including built-in references (KELVIN, CELSIUS, FAHRENHEIT) and a dynamically added reference with its own offset.
- testReferencesAddGetAndOffsets() - Method in class org.djunits.quantity.DirectionTest
-
Test the static Reference registry and chained reference offsets.
- testRegisteredUnitsSafeTopLevelCopy() - Method in class org.djunits.unit.UnitsTest
-
Verify
Units.registeredUnits()returns a safe top-level copy: mutating the returned map does not affect the internal UNIT_MAP. - testRegisterUnregister() - Method in class org.djunits.unit.UnitsTest
-
Test register/unregister and retrieving localication for unknown quantities.
- testRenderingNoMutation() - Method in class org.djunits.unit.scale.ScaleTest
-
Rendering should not mutate internal state (smoke check for all scales).
- testRenderingNoMutation() - Method in class org.djunits.unit.si.SIUnitTest
-
Immutability: calling the various renderers must not mutate internal state.
- testResolveUsLocaleParsing() - Method in class org.djunits.unit.UnitsTest
-
Verify US-locale resolution of common unit abbreviations via
Units.resolve(Class, String). - testRowAsColVectorFormat() - Method in class org.djunits.formatter.VectorFormatTest
-
Test format settings for the row-as-column vector.
- testRowColDefaults() - Method in class org.djunits.vecmat.storage.SparseFloatDataSiTest
-
DataGrid.getRowArray / getColArray: correctness + bounds.
- testRowDotCol() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify Row⋅Col = scalar with plus-unit composition.
- testRowDotCol() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row·Col → scalar; unit composition with SIUnit.plus.
- testRowOfArrayUnitEmpty() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(double[], unit) with empty array.
- testRowOfArrayUnitHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(double[],unit) – happy path.
- testRowOfArrayUnitHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(double[],unit) happy path.
- testRowOfArrayUnitHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(double[], unit) happy path.
- testRowOfArrayUnitNullArray() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(double[],unit) – null array.
- testRowOfArrayUnitNullArray() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(double[],unit) null array.
- testRowOfArrayUnitNullArray() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(double[], unit) with null array.
- testRowOfArrayUnitWrongLength() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(double[],unit) – wrong length.
- testRowOfArrayUnitWrongLength() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(double[],unit) wrong length.
- testRowOfDoubleDoubleUnitHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(double,double,unit) – happy path.
- testRowOfDoubleDoubleUnitNull() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(double,double,null) – null unit.
- testRowOfDoubleTripleUnitHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(double,double,double,unit) happy path.
- testRowOfDoubleTripleUnitNull() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(double,double,double,null) must throw.
- testRowOfQQHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(Q,Q) – happy path.
- testRowOfQQNullX() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(Q,Q) – null x.
- testRowOfQQNullY() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(Q,Q) – null y.
- testRowOfQQQHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(Q,Q,Q) happy path.
- testRowOfQQQNullY() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(Q,Q,Q) with null y.
- testRowOfQuantityArrayEmpty() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(Q[]) with empty array.
- testRowOfQuantityArrayHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(Q[]) – happy path.
- testRowOfQuantityArrayHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(Q[]) happy path.
- testRowOfQuantityArrayHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(Q[]) happy path.
- testRowOfQuantityArrayNull() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(Q[]) – null array.
- testRowOfQuantityArrayNull() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(Q[]) null array.
- testRowOfQuantityArrayNull() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(Q[]) with null array.
- testRowOfQuantityArrayWrongLength() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.of(Q[]) – wrong length.
- testRowOfQuantityArrayWrongLength() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.of(Q[]) wrong length.
- testRowOfQuantityListEmpty() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(List) with empty list.
- testRowOfQuantityListHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(List) happy path.
- testRowOfQuantityListWithNullElement() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.of(List) with null element.
- testRowOfSiArrayHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.ofSi(double[], unit) happy path.
- testRowOfSiArrayNullArray() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.ofSi(double[], unit) with null array.
- testRowOfSiArrayNullUnit() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.ofSi(double[],null unit).
- testRowOfSiArrayUnitHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.ofSi(double[],unit) – happy path.
- testRowOfSiArrayUnitHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.ofSi(double[],unit) happy path.
- testRowOfSiArrayWrongLength() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.ofSi(double[],unit) – wrong length.
- testRowOfSiArrayWrongLength() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.ofSi(double[],unit) wrong length.
- testRowOfSiDataGridHappy() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.ofSi(DataGridSi, unit) happy path.
- testRowOfSiDataGridWrongShape() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Row.ofSi(DataGridSi, unit) with wrong shape.
- testRowOfSiScalarsHappy() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.ofSi(double,double,unit) – happy path.
- testRowOfSiScalarsHappy() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row.ofSi(double,double,double,unit) happy path.
- testRowOfSiScalarsNullUnit() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Row.ofSi(double,double,null).
- testRowsColsAndGet() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify basic getters
rows(),cols(), andget(int,int)on a simple 2x3 matrix. - testRowsColsGet() - Method in class org.djunits.vecmat.storage.DenseFloatDataSiTest
-
Test
rows(),cols(), andget(int,int)for normal behavior. - testRowTimesMatrix() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify Row⋅Matrix2x2 = Col with plus-unit composition.
- testRowTimesMatrix() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Row·Matrix3x3 → Col with plus-unit composition.
- testRowVectorFormat() - Method in class org.djunits.formatter.VectorFormatTest
-
Test format settings for the row vector.
- testScalarAndSiArray() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test scalar and SI array extraction for AbsVector1.
- testScalarAndSiArrayCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test scalar and SI array extraction for column vectors.
- testScalarAndSiArrayCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test scalar and SI array extraction for column vectors.
- testScalarAndSiArrayCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test scalar and SI array extraction for column vectors.
- testScalarAndSiArrayRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test scalar and SI array extraction for row vectors.
- testScalarAndSiArrayRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test scalar and SI array extraction for row vectors.
- testScalarAndSiArrayRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test scalar and SI array extraction for row vectors.
- testScalarAndSiGrids() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test scalar and SI array / grid extraction.
- testScalarAndSiGrids() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test scalar and SI array / grid extraction.
- testScalarAndSiGrids() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test scalar and SI array / grid extraction.
- testScalarAndSiGrids() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test scalar and SI array / grid extraction.
- testScalarAndSiGrids() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test scalar and SI array / grid extraction.
- testScalarAndSiGrids() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test scalar and SI array / grid extraction.
- testScalarExtraction() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify scalar array extraction helpers on
VectorMatrix. - testScalarExtraction() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify scalar array extraction helpers on
VectorMatrix. - testScalarExtraction() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify scalar array extraction helpers on
VectorMatrix. - testScalarExtraction() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify scalar extraction helpers:
getScalars,getRowScalars,getColumnScalars, andgetDiagonalScalars. - testScalarExtraction() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify scalar extraction helpers.
- testScalarExtraction() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify scalar extraction helpers.
- testScale() - Method in class org.djunits.unit.scale.ScaleTest
-
Test the correct implementation of scales.
- testScientificAlways() - Method in class org.djunits.formatter.NumberFormatTest
-
Test scientific formatting.
- testSecondaryConstructorAndNulls() - Method in class org.djunits.unit.UnitlessTest
-
Verify the secondary constructor
Unitless(String, String, String, Scale, UnitSystem)accepts an explicit scale and sets fields properly. - testSetDisplayUnit() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify that
VectorMatrix.setDisplayUnit(Unit)only affects presentation and not SI storage. - testSetDisplayUnit() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify that
VectorMatrix.setDisplayUnit(Unit)only affects presentation and not SI storage. - testSetDisplayUnit() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify that
VectorMatrix.setDisplayUnit(Unit)only affects presentation and not SI storage. - testSetDisplayUnit() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify that
VectorMatrix.setDisplayUnit(Unit)only affects presentation (not SI storage). - testSetDisplayUnit() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
setDisplayUnit only affects presentation; SI unchanged.
- testSetGetSiPrefix() - Method in class org.djunits.unit.UnitTest
-
Verify
Unit.setSiPrefix(SIPrefix),Unit.setSiPrefix(String),Unit.setSiPrefixKilo(String), andUnit.setSiPrefixPer(String)on a fresh, test-only unit instance (to avoid mutating shared singletons). - testShapeAndTranspose() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify rows(), cols(), and isColumnVector() for both Row and Col; verify transpose preserves SI values and unit.
- testShapeAndTranspose() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify rows(), cols(), and isColumnVector() for both Row and Col; verify transpose preserves SI values and unit.
- testShapeAndTranspose() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify rows(), cols(), isColumnVector(), and transpose for both Row and Col.
- testShapeAndValue() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
- testShapeAndValue() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify rows/cols/value/isRelative on a 3x2 matrix.
- testSiAbbreviationsDefensiveCopy() - Method in class org.djunits.unit.si.SIUnitTest
-
Verifies that
SIUnit.siAbbreviations()returns a defensive copy. - testSiArrayExtraction() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify si array extraction helpers on
VectorMatrix. - testSiArrayExtraction() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify si array extraction helpers on
VectorMatrix. - testSiArrayExtraction() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify double array extraction helpers on
VectorMatrix. - testSiArrayExtraction() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify SI extraction helpers:
getRowSi,getColumnSi, andgetDiagonalSi. - testSiArrayExtraction() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify double extraction helpers.
- testSiArrayExtraction() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify double extraction helpers.
- testSiFormatting() - Method in class org.djunits.formatter.MatrixFormatTest
-
Test formatting as SI.
- testSiFormatting() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test formatting as SI.
- testSiFormatting() - Method in class org.djunits.formatter.TableFormatTest
-
Test formatting as SI.
- testSiFormattingCol() - Method in class org.djunits.formatter.VectorFormatTest
-
Test formatting as SI for column vector.
- testSiFormattingRow() - Method in class org.djunits.formatter.VectorFormatTest
-
Test formatting as SI for row vector.
- testSingleLevelOffsetStillWorks() - Method in class org.djunits.quantity.def.ReferenceTest
-
Sanity-check a single-level offset: define B = A + 10 m (for Position), and verify that 0 @ B equals +10 relative to A.
- testSIPrefix() - Method in class org.djunits.unit.units.SIUnitTest
-
Test SIPrefix methods.
- testSiprefixConstructorAndGetters() - Method in class org.djunits.unit.si.SIPrefixTest
-
Constructor validation for
SIPrefix. - testSiprefixesEnumToStringAndValueOf() - Method in class org.djunits.unit.si.SIPrefixTest
-
SIPrefixes enum toString() should equal the enum constant name, and valueOf(toString()) should round-trip to the same constant.
- testSiPrefixToSiUnit() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test SIPrefix not applicable to SI units.
- testSiScalingKilo() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test SI scaling (e.g., 1200 kg becomes 1.2 Mg).
- testSiScalingPer() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test SI scaling (e.g., 1200 /m becomes 1.2 /mm).
- testSiScalingPerKilo() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test SI scaling (e.g., 1200 /kg becomes 1.2 /g).
- testSiScalingUnit() - Method in class org.djunits.formatter.QuantityFormatTest
-
Test SI scaling (e.g., 1200 J becomes 1.2 kJ).
- testSiUnitAndOfSi() - Method in class org.djunits.unit.UnitlessTest
-
Verify SI mapping:
Unitless.siUnit()andUnitless.ofSi(double). - testSIUnits() - Method in class org.djunits.formatter.UnitFormatTest
-
Test SI unit format.
- testSolidAngleBasics() - Method in class org.djunits.quantity.SolidAngleTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testSolidAngleOperations() - Method in class org.djunits.quantity.SolidAngleTest
-
Test arithmetic operations.
- testSpecialDoubleBehavior() - Method in class org.djunits.unit.scale.ScaleTest
-
Extremes and special doubles — adapt depending on the intended contract.
- testSpeedBasics() - Method in class org.djunits.quantity.SpeedTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testSpeedOperations() - Method in class org.djunits.quantity.SpeedTest
-
Test arithmetic operations.
- testSquareOps() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify transpose, determinant/trace/normFrobenius, symmetry checks.
- testStandardMethods() - Method in class org.djunits.unit.units.AbsorbedDoseUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.AccelerationUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.AmountOfSubstanceUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.AngleUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ArealObjectDensityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.AreaUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.CatalyticActivityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.DensityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.DimensionlessUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.DurationUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ElectricalCapacitanceUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ElectricalConductanceUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ElectricalInductanceUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ElectricalResistanceUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ElectricChargeUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ElectricCurrentUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ElectricPotentialUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.EnergyUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.EquivalentDoseUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.FlowMassUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.FlowVolumeUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.ForceUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.FrequencyUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.IlluminanceUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.LengthUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.LinearDensityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.LinearObjectDensityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.LuminousFluxUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.LuminousIntensityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.MagneticFluxDensityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.MagneticFluxUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.MassUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.PowerUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.PressureUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.RadioActivityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.SolidAngleUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.SpeedUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.TemperatureUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.TorqueUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.VolumetricObjectDensityUnitTest
-
Check the standard methods.
- testStandardMethods() - Method in class org.djunits.unit.units.VolumeUnitTest
-
Check the standard methods.
- testStaticFactories() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test all of() and ofSi() static factories.
- testStaticFactories() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test all of() and ofSi() static factories for column matrices.
- testStaticFactories() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test all of() and ofSi() static factories.
- testStaticFactories() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test all of() and ofSi() static factories.
- testStaticFactories() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test all static of() and ofSi() factories.
- testStaticFactories() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test all of() and ofSi() static factories.
- testStaticFactories() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test all of() and ofSi() static factories.
- testStaticFactoriesAndParsing() - Method in class org.djunits.quantity.TemperatureTest
-
Test static constructors ofSi, valueOf, and of, including correct interpretation of unit strings, handling of references, and error paths.
- testStaticFactoriesCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test all of() and ofSi() static factories for column matrices.
- testStaticFactoriesCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test all of() and ofSi() static factories for column matrices.
- testStaticFactoriesCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test all of() and ofSi() static factories for column matrices.
- testStaticFactoriesRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test all of() and ofSi() static factories for row matrices.
- testStaticFactoriesRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test all of() and ofSi() static factories for row matrices.
- testStaticFactoriesRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test all of() and ofSi() static factories for row matrices.
- testStaticOperations() - Method in class org.djunits.quantity.PositionTest
-
Test the static operations inherited from AbsQuantity: interpolate, min, max, sum, and mean.
- testStaticOperations() - Method in class org.djunits.quantity.TemperatureTest
-
Test the aggregate static operations defined in AbsQuantity: max, min, sum, mean, and interpolate.
- testStaticOperations() - Method in class org.djunits.quantity.TimeTest
-
Test the static operations inherited from AbsQuantity: interpolate, min, max, sum, and mean, using the same reference.
- testStatistics() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify statistics: min, max, mean, median, sum.
- testStatistics() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify statistics: min, max, mean, median, sum.
- testStatisticsCol() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify statistics for a Col vector: min, max, mean, median, and sum.
- testStatisticsCol() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify
min,max,mean,median, andsumon aVectorN.Colwith inputs in kilometers; assertions are made against SI values in meters. - testStatisticsRow() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Verify statistics for a Row vector: min, max, mean, median, and sum.
- testStatisticsRow() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify
min,max,mean,median, andsumon an unsorted odd-lengthVectorN.Rowinput (to avoid even-median ambiguity). - testStats() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify
mean,median,min,max, andsum. - testStats() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify
mean,median,min,max, andsum. - testStats() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
mean,median,min,max, andsum. - testStoredVsLocalizedGetters() - Method in class org.djunits.unit.UnitTest
-
Sanity: stored vs (potentially localized) getters return non-null strings; stored is stable.
- testSymmetry() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test symmetric and skew-symmetric checks.
- testSymmetry() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify symmetry and skew-symmetry checks with and without tolerances.
- testSymmetry() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test symmetric and skew-symmetric checks.
- testSymmetry() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify symmetry and skew-symmetry checks with and without tolerances.
- testSymmetry() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test symmetric and skew-symmetric checks.
- testSymmetry() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify symmetry and skew-symmetry checks with and without tolerances.
- testSymmetry() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test symmetric and skew-symmetric checks.
- testTableFormat() - Method in class org.djunits.formatter.TableFormatTest
-
Test format settings for the matrix.
- testTemperatureDifferenceBasics() - Method in class org.djunits.quantity.TemperatureDifferenceTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit, and ofSi.
- testTemperatureDifferenceOperations() - Method in class org.djunits.quantity.TemperatureDifferenceTest
-
Test arithmetic operations and add(Temperature).
- testTemperatureUnitLazyReferenceInit() - Method in class org.djunits.quantity.TemperatureTest
-
Test the lazy initializer for temperature references.
- testToString() - Method in class org.djunits.unit.units.SIUnitTest
-
Test toString() methods.
- testToString() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test toString().
- testToString() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test toString() for AbsVector1.
- testToString() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Call
VectorMatrix.toString()andValue.format(Unit)for coverage. - testToString() - Method in class org.djunits.vecmat.d1.Vector1Test
-
Verify toString() and toString(unit) contain orientation tag and unit abbreviation.
- testToString() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test toString().
- testToString() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Call
VectorMatrix.toString()andValue.format(Unit)for coverage. - testToString() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Verify toString() and toString(unit) contain orientation tag and unit abbreviation.
- testToString() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test toString().
- testToString() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify
VectorMatrix.toString()andValue.format(Unit). - testToString() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test toString().
- testToString() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify
VectorMatrix.toString()andValue.format(Unit)include unit abbreviation. - testToString() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test toString().
- testToString() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
toString and toString(unit) include unit abbreviation.
- testToString() - Method in class org.djunits.vecmat.storage.DoubleSparseValueTest
-
Test toString formatting for basic sanity.
- testToString() - Method in class org.djunits.vecmat.storage.FloatSparseValueTest
-
Test that toString() contains all relevant fields.
- testToString() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test toString().
- testToStringCol() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test toString() for column vectors.
- testToStringCol() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test toString() for column vectors.
- testToStringCol() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test toString() for column vectors.
- testToStringRow() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test toString() for row vectors.
- testToStringRow() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test toString() for row vectors.
- testToStringRow() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test toString() for row vectors.
- testToStringWithTargetUnit() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Test
toString(Unit)converts the unit for display. - testToStringWithTargetUnit() - Method in class org.djunits.quantity.def.QuantityTest
-
Test
toString(Unit)converts the unit for display. - testTranspose() - Method in class org.djunits.vecmat.d1.AbsMatrix1x1Test
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.d1.AbsVector1Test
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify transpose on a 1x1 matrix.
- testTranspose() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.d2.AbsVector2Test
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify transpose on a 2x2 matrix.
- testTranspose() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.d3.AbsVector3Test
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify transpose on a 3x3 matrix.
- testTranspose() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.dn.AbsVectorNTest
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify transpose() method.
- testTranspose() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test transpose().
- testTranspose() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test transpose().
- testTransposeDenseDouble() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify transpose() for a DenseDoubleDataSi-backed rectangular matrix (2x3 → 3x2): - Row-major mapping: [a11,a12,a13,a21,a22,a23] → [a11,a21,a12,a22,a13,a23]. - Shape swap rows↔cols. - Display unit preserved. - Double transpose returns original SI values.
- testTransposeDenseFloat() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify transpose() for a DenseFloatDataSi-backed rectangular matrix (2x3 → 3x2): - Correct element remapping in row-major order. - Shape swap rows↔cols. - Display unit preserved.
- testTransposeRectangular() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify
QuantityTable.transpose()for a rectangular table. - testTransposeSparseDouble() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify transpose() for a SparseDoubleDataSi-backed rectangular matrix (2x3 → 3x2) containing zeros: - Correct element remapping in row-major order. - Shape swap rows↔cols. - nnz (non-zero count) preserved (zeros remain zeros after transpose).
- testTransposeSparseFloat() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify transpose() for a SparseFloatDataSi-backed rectangular matrix (2x3 → 3x2) containing zeros: - Correct element remapping in row-major order. - Shape swap rows↔cols. - nnz preserved (zeros remain zeros).
- testUnitBehavior() - Method in class org.djunits.quantity.AngleTest
-
Test the Angle.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.AngularAccelerationTest
-
Test the AngularAcceleration.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.AngularVelocityTest
-
Test the AngularVelocity.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ArealObjectDensityTest
-
Test the ArealObjectDensity.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.AreaTest
-
Test the Area.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.CatalyticActivityTest
-
Test the CatalyticActivity.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.DensityTest
-
Test the Density.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.DurationTest
-
Test the Duration.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ElectricalCapacitanceTest
-
Test the ElectricalCapacitance.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ElectricalConductanceTest
-
Test the ElectricalConductance.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ElectricalInductanceTest
-
Test the ElectricalInductance.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ElectricalResistanceTest
-
Test the ElectricalResistance.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ElectricChargeTest
-
Test the ElectricCharge.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ElectricCurrentTest
-
Test the ElectricCurrent.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ElectricPotentialTest
-
Test the ElectricPotential.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.EnergyTest
-
Test the Energy.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.EquivalentDoseTest
-
Test the EquivalentDose.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.FlowMassTest
-
Test the FlowMass.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.FlowVolumeTest
-
Test the FlowVolume.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.ForceTest
-
Test the Force.Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.FrequencyTest
-
Test the Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.IlluminanceTest
-
Test the Unit behavior: base/si unit, deriving linear units, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.LengthTest
-
Test Unit behavior: base/si unit, ofSi, deriveUnit (linear), and non-linear branch throwing UnitRuntimeException.
- testUnitBehavior() - Method in class org.djunits.quantity.LinearDensityTest
-
Test the Unit behavior: base/si unit, deriving linear units, Unit.ofSi delegation, and exception branch for non-linear scale.
- testUnitBehavior() - Method in class org.djunits.quantity.LinearObjectDensityTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch, and prefix-generated units.
- testUnitBehavior() - Method in class org.djunits.quantity.LuminousFluxTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, and non-linear derivation exception branch.
- testUnitBehavior() - Method in class org.djunits.quantity.LuminousIntensityTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, and non-linear derivation exception branch.
- testUnitBehavior() - Method in class org.djunits.quantity.MagneticFluxDensityTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch, and registry of prefixed units.
- testUnitBehavior() - Method in class org.djunits.quantity.MagneticFluxTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch, and registry of prefixed units.
- testUnitBehavior() - Method in class org.djunits.quantity.MassTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch, and registry sanity.
- testUnitBehavior() - Method in class org.djunits.quantity.MomentumTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, and non-linear derivation exception branch.
- testUnitBehavior() - Method in class org.djunits.quantity.PowerTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch, and registry sanity.
- testUnitBehavior() - Method in class org.djunits.quantity.PressureTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch, and registry sanity.
- testUnitBehavior() - Method in class org.djunits.quantity.RadioActivityTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, and non-linear derivation exception branch.
- testUnitBehavior() - Method in class org.djunits.quantity.SolidAngleTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch, and registry sanity.
- testUnitBehavior() - Method in class org.djunits.quantity.SpeedTest
-
Test the Unit behavior: base/si unit, Unit.ofSi delegation, deriving linear units, non-linear derivation exception branch.
- testUnitBehavior() - Method in class org.djunits.quantity.TorqueTest
-
Test unit derivation.
- testUnitBehavior() - Method in class org.djunits.quantity.VolumeTest
-
Test unit derivation behavior.
- testUnitBehavior() - Method in class org.djunits.quantity.VolumetricObjectDensityTest
-
Test unit behavior.
- testUnitClassNameForNested() - Method in class org.djunits.unit.UnitsTest
-
Verify
Units.unitClassName(Class)returns nested names (e.g., "Length.Unit") rather than just "Unit", and trims package name. - testUnitConversions() - Method in class org.djunits.quantity.SpeedTest
-
Test unit conversions for a selection of defined units.
- testUnitConversions() - Method in class org.djunits.quantity.TorqueTest
-
Test correctness of unit conversions for Nm, meter-kilogram-force, pound-foot, and pound-inch.
- testUnitConversionsAndRegistry() - Method in class org.djunits.quantity.VolumeTest
-
Test a selection of unit conversions (SI, SI-derived, imperial/US customary, astronomical), and registry resolution sanity.
- testUnitExceptions() - Method in class org.djunits.unit.UnitExceptionsTest
-
Test the UnitException and the UnitRuntimeException using the djutils-test project.
- testUnitInterfaceDefaultConversions() - Method in class org.djunits.unit.UnitTest
-
Verify
Unit.toBaseValue(double)andUnit.fromBaseValue(double)forward to the underlyingScaleand work for base and derived units. - testUnitInterfaceGetters() - Method in class org.djunits.unit.si.SIUnitTest
- testUnitInterfaceMetadata() - Method in class org.djunits.unit.UnitTest
-
Verify basic metadata and identity of units (id/name/abbreviations/system/scale) without assuming localization.
- testUnitInterfaceQuantityInUnit() - Method in class org.djunits.unit.UnitTest
-
Verify
Unit.quantityInUnit(double)constructs a quantity with correct SI value and display unit. - testUnitlessBehavior() - Method in class org.djunits.quantity.DimensionlessTest
-
Test the Unitless behavior: siUnit, base unit, ofSi, deriveUnit linear success, and exception branch for non-linear scale.
- testUnitPrefixesPresenceAndValues() - Method in class org.djunits.unit.si.SIPrefixTest
-
Basic presence and values in UNIT prefixes map.
- testUnitReferenceInitializationAndDeriveUnit() - Method in class org.djunits.quantity.TemperatureTest
-
Test the behavior of Temperature.Unit, including lazy reference initialization, derived-unit creation, base/SI-unit behavior, and error handling.
- testUnitResolution() - Method in class org.djunits.quantity.TemperatureDifferenceTest
-
Unit resolution sanity (relies on Temperature.Unit registration).
- testUnitsAndPrefixes() - Method in class org.djunits.quantity.MassTest
-
Test prefixed SI units and selected special/imperial units.
- testUnitsAndPrefixes() - Method in class org.djunits.quantity.PowerTest
-
Test SI prefixes and legacy/alternate systems units.
- testUnitsAndPrefixes() - Method in class org.djunits.quantity.PressureTest
-
Test SI prefixes and alternate units (bar/mbar, atm/torr, at, Ba, mercury heights, imperial/US, MTS).
- testUnitsAndPrefixes() - Method in class org.djunits.quantity.RadioActivityTest
-
Test SI prefixes and non-SI units: Curie family and Rutherford.
- testUnsafeSiArrayExposure() - Method in class org.djunits.vecmat.storage.DenseDoubleDataSiTest
-
Verify exposure semantics of
DenseDoubleDataSi.getSiArray()(no safe copy). - testUpperLowerExponent() - Method in class org.djunits.formatter.NumberFormatTest
-
Test uppercase and lowercase scientific exponent.
- testUserDefinedConstructorValidation() - Method in class org.djunits.unit.system.UnitSystemTest
-
Constructor validation for user-defined systems.
- null id/name → NullPointerException
- empty/blank id/name → IllegalArgumentException
- valid id/name → getters return the same, toString non-empty - testVariableLength() - Method in class org.djunits.formatter.NumberFormatTest
-
Test variable-length formatting.
- testVector2ColAsFunctions() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Test as() functions for Col vector.
- testVector2RowAsFunctions() - Method in class org.djunits.vecmat.d2.Vector2Test
-
Test as() functions for Row vector.
- testVector3ColAsFunctions() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Test as() functions for Col vector.
- testVector3RowAsFunctions() - Method in class org.djunits.vecmat.d3.Vector3Test
-
Test as() functions for Row vector.
- testVectorAccess() - Method in class org.djunits.vecmat.d2.AbsMatrix2x2Test
-
Test mgetRowVector and getColumnVector.
- testVectorAccess() - Method in class org.djunits.vecmat.d3.AbsMatrix3x3Test
-
Test mgetRowVector and getColumnVector.
- testVectorAccess() - Method in class org.djunits.vecmat.dn.AbsMatrixNxNTest
-
Test mgetRowVector and getColumnVector.
- testVectorAccess() - Method in class org.djunits.vecmat.dnxm.AbsMatrixNxMTest
-
Test mgetRowVector and getColumnVector.
- testVectorAccess() - Method in class org.djunits.vecmat.table.AbsQuantityTableTest
-
Test mgetRowVector and getColumnVector.
- testVectorExtraction() - Method in class org.djunits.vecmat.dn.MatrixNxNTest
-
Verify scalar extraction helpers:
getRowVector,getColumnVector, andgetDiagonalVector. - testVectorExtraction() - Method in class org.djunits.vecmat.dnxm.MatrixNxMTest
-
Verify vector extraction helpers.
- testVectorExtraction() - Method in class org.djunits.vecmat.table.QuantityTableTest
-
Verify vector extraction helpers.
- testVectorExtractionSpec() - Method in class org.djunits.vecmat.d1.Matrix1x1Test
-
Verify vector extraction helpers (
getRow,getColumn,getDiagonal) behave per spec. - testVectorExtractionSpec() - Method in class org.djunits.vecmat.d2.Matrix2x2Test
-
Verify vector extraction helpers (
getRow,getColumn,getDiagonal) behave per spec. - testVectorExtractionSpec() - Method in class org.djunits.vecmat.d3.Matrix3x3Test
-
Verify vector extraction helpers (
getRow,getColumn,getDiagonal) behave per spec: this test expects non-null vectors of appropriate type and unit. - testVectorNasVectorConversionsRowAndCol() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Verify that VectorN.
Coland VectorN.Rowconvert to Vector1/Vector2/Vector3 variants with preserved SI data and display unit; and that illegal shapes throwIllegalStateException. - testVectorNColAsFunctions() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Test as() functions for Col vector.
- testVectorNRowAsFunctions() - Method in class org.djunits.vecmat.dn.VectorNTest
-
Test as() functions for Row vector.
- testVolumeBasics() - Method in class org.djunits.quantity.VolumeTest
-
Test constructors, constants, parsing, SI conversions, instantiate, siUnit(), and ofSi().
- testVolumeOperations() - Method in class org.djunits.quantity.VolumeTest
-
Test arithmetic operations: divide(Volume) → Dimensionless (incl. divide-by-zero) multiply(Density) → Mass multiply(Pressure) → Energy divide(Length) → Area divide(Area) → Length multiply(LinearObjectDensity) → Area divide(Duration) → FlowVolume divide(FlowVolume) → Duration reciprocal() → VolumetricObjectDensity
- testZeroComparisonsAndNumericConversions() - Method in class org.djunits.quantity.PositionTest
-
Test lt0, le0, gt0, ge0, eq0, ne0 and numeric Number conversions.
- testZeroComparisonsAndNumericConversions() - Method in class org.djunits.quantity.TimeTest
-
Test lt0, le0, gt0, ge0, eq0, ne0 and numeric Number conversions.
- testZeroComparisonsNumericConversions() - Method in class org.djunits.quantity.TemperatureTest
-
Test eq0, ne0, lt0, le0, gt0, ge0 and verify that Number conversions (intValue, longValue, floatValue, doubleValue) match SI values.
- TimeTest - Class in org.djunits.quantity
-
TimeTest tests the Time absolute quantity class and its Reference handling.
- TimeTest() - Constructor for class org.djunits.quantity.TimeTest
- TorqueTest - Class in org.djunits.quantity
-
TorqueTest tests the Torque quantity class.
- TorqueTest() - Constructor for class org.djunits.quantity.TorqueTest
- TorqueUnitTest - Class in org.djunits.unit.units
-
Torque.Unit test.
- TorqueUnitTest() - Constructor for class org.djunits.unit.units.TorqueUnitTest
- toStringVariants() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies representative
Quantity.toString()variants for anSIQuantity: default form, explicit target unit, and unit suppression. - traceOfMatrix() - Method in class org.djunits.util.MatrixMathTest
-
Verifies
MatrixMath.trace(double[], int)on simple matrices.
U
- Unit(String, String, double, UnitSystem) - Constructor for class org.djunits.quantity.def.PerMass.Unit
-
Create a new Mass unit.
- Unit(String, String, double, UnitSystem) - Constructor for class org.djunits.unit.UnitTest.Jerk.Unit
-
ctor with factor.
- Unit(String, String, double, UnitSystem) - Constructor for class org.djunits.unit.UnitTest.PerMass.Unit
-
Construct a PerMass unit with an explicit (linear) scale factor to BASE (1/kg).
- Unit(String, String, String, Scale, UnitSystem) - Constructor for class org.djunits.quantity.def.PerMass.Unit
-
Return a derived unit for this unit, with textual abbreviation(s) and a display abbreviation.
- Unit(String, String, String, Scale, UnitSystem) - Constructor for class org.djunits.unit.UnitTest.Jerk.Unit
-
full ctor.
- Unit(String, String, String, Scale, UnitSystem) - Constructor for class org.djunits.unit.UnitTest.PerMass.Unit
-
Construct a PerMass unit with explicit textual/display abbreviations and a provided
Scale. - Unit(String, String, Scale, UnitSystem) - Constructor for class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz.Unit
- Unit(String, String, Scale, UnitSystem) - Constructor for class org.djunits.quantity.def.QuantityTest.ExampleQuantityAQxyz.Unit
- UnitExceptionsTest - Class in org.djunits.unit
-
Test the UnitException, the UnitRuntimeException, and the NonInvertibleMatrixException classes.
- UnitExceptionsTest() - Constructor for class org.djunits.unit.UnitExceptionsTest
- UnitFormatTest - Class in org.djunits.formatter
-
Tests all
QuantityFormatsettings that have an effect on the formatting of the unit. - UnitFormatTest() - Constructor for class org.djunits.formatter.UnitFormatTest
- unitHashCodeEqualsTest() - Method in class org.djunits.unit.units.UnitTest
-
hashCode() and equals().
- UnitlessTest - Class in org.djunits.unit
-
Unit tests for
Unitless. - UnitlessTest() - Constructor for class org.djunits.unit.UnitlessTest
- UnitsTest - Class in org.djunits.unit
-
Unit tests for the
Unitsutility covering US parsing, localization lookups, bundle loading, nested-class naming, and safe-copy behavior. - UnitsTest() - Constructor for class org.djunits.unit.UnitsTest
- UnitsTest.NoRegisterUnit - Class in org.djunits.unit
-
UnitInterface class that does not register itself.
- UnitsTest.Q - Class in org.djunits.unit
-
Quantity Q.
- UnitsTest.QUnit - Class in org.djunits.unit
-
UnitInterface Length class that does not register itself.
- UnitSystemTest - Class in org.djunits.unit.system
-
Tests for
UnitSystem. - UnitSystemTest() - Constructor for class org.djunits.unit.system.UnitSystemTest
- unitTest() - Method in class org.djunits.unit.units.UnitTest
-
Test the units.
- UnitTest - Class in org.djunits.unit.units
-
Generic Unit class test.
- UnitTest - Class in org.djunits.unit
-
Tests for
Unit,AbstractUnit, and representative concrete units. - UnitTest() - Constructor for class org.djunits.unit.units.UnitTest
- UnitTest() - Constructor for class org.djunits.unit.UnitTest
- UnitTest.Jerk - Class in org.djunits.unit
-
Minimal Jerk quantity to exercise
AbstractUnitextensibility inside the test. - UnitTest.Jerk.Unit - Class in org.djunits.unit
-
Unit for Jerk (m/s^3).
- UnitTest.PerMass - Class in org.djunits.unit
-
A minimal test-local quantity representing a "per mass" value (unit: 1/kg), used to verify correct behavior of per-kilo SI-prefix generation on
AbstractUnit. - UnitTest.PerMass.Unit - Class in org.djunits.unit
-
Unit for
UnitTest.PerMass(SI dimension: 1/kg).
V
- valueOf(String) - Static method in class org.djunits.quantity.def.PerMass
-
Returns a Mass representation of a textual representation of a value with a unit.
- valueOfAcceptsEmptyUnitForDimensionless() - Method in class org.djunits.quantity.def.QuantityTest
-
Unitless special-case coverage: When the example is
Dimensionless, an empty (or whitespace-only) unit token must be accepted and interpreted asUnitless.BASE. - valueOfInvalids() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies error handling in
Quantity.valueOf(String, Quantity). - valueOfParses() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies successful parsing via
AbsQuantity.valueOf(String, AbsQuantity, Reference)and error branches fornullparameters, empty text, and unknown units. - valueOfParses() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies successful parsing via
Quantity.valueOf(String, Quantity)with and without a space between number and unit. - valueOfParsesAndValidates() - Method in class org.djunits.quantity.SIQuantityTest
-
Verifies
SIQuantity.valueOf(String)happy path and error handling. - Vector1Test - Class in org.djunits.vecmat.d1
-
Unit tests for
Vector1(bothVector1andVector1) with concrete quantityLengthand unitLength.Unit. - Vector1Test() - Constructor for class org.djunits.vecmat.d1.Vector1Test
- Vector2Test - Class in org.djunits.vecmat.d2
-
Unit tests for
Vector2(bothVector2.ColandVector2.Row) with concrete quantityLengthand unitLength.Unit. - Vector2Test() - Constructor for class org.djunits.vecmat.d2.Vector2Test
- Vector3Test - Class in org.djunits.vecmat.d3
-
Unit tests for
Vector3(bothVector3.ColandVector3.Row) with concrete quantityLengthand unitLength.Unit. - Vector3Test() - Constructor for class org.djunits.vecmat.d3.Vector3Test
- VectorFormatTest - Class in org.djunits.formatter
-
Tests all
VectorFormatsettings and their effect on vector formatting. - VectorFormatTest() - Constructor for class org.djunits.formatter.VectorFormatTest
- VectorNTest - Class in org.djunits.vecmat.dn
-
Comprehensive unit tests for
VectorN, validating bothVectorN.RowandVectorN.Colimplementations with concrete quantityLengthand display units fromLength.Unit. - VectorNTest() - Constructor for class org.djunits.vecmat.dn.VectorNTest
- VolumeTest - Class in org.djunits.quantity
-
VolumeTest tests the Volume quantity class.
- VolumeTest() - Constructor for class org.djunits.quantity.VolumeTest
- VolumetricObjectDensityTest - Class in org.djunits.quantity
-
VolumetricObjectDensityTest tests the VolumetricObjectDensity quantity class.
- VolumetricObjectDensityTest() - Constructor for class org.djunits.quantity.VolumetricObjectDensityTest
- VolumetricObjectDensityUnitTest - Class in org.djunits.unit.units
-
VolumetricObjectDensity.Unit test.
- VolumetricObjectDensityUnitTest() - Constructor for class org.djunits.unit.units.VolumetricObjectDensityUnitTest
- VolumeUnitTest - Class in org.djunits.unit.units
-
Volume.Unit test.
- VolumeUnitTest() - Constructor for class org.djunits.unit.units.VolumeUnitTest
Z
- ZERO - Static variable in class org.djunits.quantity.def.AbsQuantityTest.RelativeExampleQuantityAQxyz
-
ZERO.
- ZERO - Static variable in class org.djunits.quantity.def.PerMass
-
Constant with value zero.
- zeroComparisons() - Method in class org.djunits.quantity.def.AbsQuantityTest
-
Verifies zero-comparison helpers (lt0/le0/gt0/ge0/eq0/ne0) for
AbsQuantity. - zeroComparisons() - Method in class org.djunits.quantity.def.QuantityTest
-
Verifies zero-comparison helpers (lt0/le0/gt0/ge0/eq0/ne0).
All Classes and Interfaces|All Packages|Serialized Form