Class HomogeneousLinearLeastSquaresLateration3DSolverTest
java.lang.Object
com.irurueta.navigation.lateration.HomogeneousLinearLeastSquaresLateration3DSolverTest
- All Implemented Interfaces:
LaterationSolverListener<com.irurueta.geometry.Point3D>
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
class HomogeneousLinearLeastSquaresLateration3DSolverTest
extends Object
implements LaterationSolverListener<com.irurueta.geometry.Point3D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final double
private static final double
private static final double
private static final double
private static final int
private static final double
private static final double
private static final int
private int
private int
private static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
void
onSolveEnd
(LaterationSolver<com.irurueta.geometry.Point3D> solver) void
onSolveStart
(LaterationSolver<com.irurueta.geometry.Point3D> solver) private void
reset()
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
(package private) void
-
Field Details
-
MIN_SPHERES
private static final int MIN_SPHERES- See Also:
-
MAX_SPHERES
private static final int MAX_SPHERES- See Also:
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
MIN_DISTANCE_ERROR
private static final double MIN_DISTANCE_ERROR- See Also:
-
MAX_DISTANCE_ERROR
private static final double MAX_DISTANCE_ERROR- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
LARGE_ABSOLUTE_ERROR
private static final double LARGE_ABSOLUTE_ERROR- See Also:
-
TIMES
private static final int TIMES- See Also:
-
solveStart
private int solveStart -
solveEnd
private int solveEnd
-
-
Constructor Details
-
HomogeneousLinearLeastSquaresLateration3DSolverTest
HomogeneousLinearLeastSquaresLateration3DSolverTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetSpheres
- Throws:
LockedException
-
testGetSetListener
- Throws:
LockedException
-
testGetSetPositionsAndDistances
- Throws:
LockedException
-
testSolveNoError
-
testSolveWithError
-
testSolve4SpheresNoError
@Test void testSolve4SpheresNoError() throws LaterationException, NotReadyException, LockedException -
reset
private void reset()
-