Class HomogeneousLinearLeastSquaresLateration2DSolverTest
java.lang.Object
com.irurueta.navigation.lateration.HomogeneousLinearLeastSquaresLateration2DSolverTest
- All Implemented Interfaces:
LaterationSolverListener<com.irurueta.geometry.Point2D>
@ExtendWith(org.mockito.junit.jupiter.MockitoExtension.class)
class HomogeneousLinearLeastSquaresLateration2DSolverTest
extends Object
implements LaterationSolverListener<com.irurueta.geometry.Point2D>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate static final intprivate static final doubleprivate static final doubleprivate intprivate intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidvoidonSolveEnd(LaterationSolver<com.irurueta.geometry.Point2D> solver) voidonSolveStart(LaterationSolver<com.irurueta.geometry.Point2D> solver) private voidreset()(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
MIN_CIRCLES
private static final int MIN_CIRCLES- See Also:
-
MAX_CIRCLES
private static final int MAX_CIRCLES- 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
-
HomogeneousLinearLeastSquaresLateration2DSolverTest
HomogeneousLinearLeastSquaresLateration2DSolverTest()
-
-
Method Details
-
testConstructor
@Test void testConstructor() -
testGetSetCircle
- Throws:
LockedException
-
testGetSetListener
- Throws:
LockedException
-
testGetSetPositionsAndDistances
- Throws:
LockedException
-
testSolveNoError
-
testSolveWithError
-
testSolve3CirclesNoError
@Test void testSolve3CirclesNoError() throws LaterationException, NotReadyException, LockedException -
reset
private void reset()
-