Skip to content

Commit

Permalink
Added missing imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Loeffler committed Jan 28, 2025
1 parent a099b15 commit e7c8793
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@
*/
package net.raumzeitfalle.registration.jama;

import static org.junit.jupiter.api.Assertions.*;

import org.junit.jupiter.api.Test;

import net.raumzeitfalle.registration.solver.Solution;
import net.raumzeitfalle.registration.solver.spi.SolverAdapter;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class JamaSolverTest {

Expand All @@ -34,7 +33,6 @@ class JamaSolverTest {

@Test
void test() {

double[][] design = {
{ -75000.0, 0.0, 0.0, -70000.0, 1.0, 0.0 },
{ 0.0, -70000.0, 75000.0, 0.0, 0.0, 1.0 },
Expand All @@ -47,7 +45,6 @@ void test() {

double[] differences = { -0.075, 0.140, -0.075, -0.140, 0.075, -0.140, 0.075, 0.140 };


Solution solution = classUnderTest.apply(() -> design, () -> differences);

double[] result = { 1.0E-6, -2.0E-6, 0.0, 0.0, 0.0, 0.0 };
Expand All @@ -62,7 +59,5 @@ void test() {

() -> assertEquals(result[4], solution.get(4), TOLERANCE, "trans x"),
() -> assertEquals(result[5], solution.get(5), TOLERANCE, "trans y"));

}

}

0 comments on commit e7c8793

Please sign in to comment.