Currently job artifacts in CI/CD pipelines on LRZ GitLab never expire. Starting from Wed 26.1.2022 the default expiration time will be 30 days (GitLab default). Currently existing artifacts in already completed jobs will not be affected by the change. The latest artifacts for all jobs in the latest successful pipelines will be kept. More information: https://gitlab.lrz.de/help/user/admin_area/settings/continuous_integration.html#default-artifacts-expiration

Commit d2890e8c authored by Christina Maria Mayr's avatar Christina Maria Mayr
Browse files

add TestVTriangle

parent f0e10d96
Pipeline #96970 passed with stages
in 126 minutes and 6 seconds
......@@ -12,10 +12,10 @@ import java.time.temporal.ChronoUnit;
import static org.junit.Assert.*;
public class VTriangleTest {
public class TestVTriangle {
// following logger writes to ASCI output file VadereUtils/log.out
private static Logger logger = Logger.getLogger(VTriangleTest.class);
private static Logger logger = Logger.getLogger(TestVTriangle.class);
// create y-symmetric 60°-triangle
private double radiusShould = 1.0;
......@@ -155,8 +155,10 @@ public class VTriangleTest {
VPoint vPoint = vTriangle_symY_60degree.getIncenter();
double x = vPoint.getX();
double y = vPoint.getY();
//assertEquals(vPoint, new VPoint(0.0,0.0), GeometryUtils.DOUBLE_EPS);
double eps = Math.max (Math.abs(x - 0.0), Math.abs(y - 0.0)); // Point (0,0) is incenter
assertTrue(eps < GeometryUtils.DOUBLE_EPS);
// assertEquals(0.0, vPoint.distance(new VPoint(x, y)), GeometryUtils.DOUBLE_EPS);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment