Skip to content

Commit

Permalink
Show more test context
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Dec 24, 2023
1 parent 55e5c10 commit cba0440
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ public void testCircleFitting2() {
final double[] asymptoticStandardErrorFound = optimum.getSigma(1e-14).toArray();

// Check that the parameters are found within the assumed error bars.
Assert.assertEquals(xCenter, paramFound[0], 2 * asymptoticStandardErrorFound[0]);
Assert.assertEquals(yCenter, paramFound[1], 2 * asymptoticStandardErrorFound[1]);
Assert.assertEquals(radius, paramFound[2], asymptoticStandardErrorFound[2]);
Assert.assertEquals("Delta=" + 2 * asymptoticStandardErrorFound[0], xCenter, paramFound[0], 2 * asymptoticStandardErrorFound[0]);
Assert.assertEquals("Delta=" + 2 * asymptoticStandardErrorFound[1], yCenter, paramFound[1], 2 * asymptoticStandardErrorFound[1]);
Assert.assertEquals("Delta=" + 2 * asymptoticStandardErrorFound[2], radius, paramFound[2], asymptoticStandardErrorFound[2]);
}

@Test
Expand Down

0 comments on commit cba0440

Please sign in to comment.