Finished AB 1

This commit is contained in:
2022-03-17 13:53:41 +01:00
parent 971beaf1ae
commit 155dc74001
4 changed files with 107 additions and 216 deletions

View File

@ -6,8 +6,6 @@ public class Aufgabe1Test {
//test classes Body and Vector3
/* TODO: remove this line
// create two bodies
Body sun = new Body(1.989e30,new Vector3(0,0,0),new Vector3(0,0,0));
Body earth = new Body(5.972e24,new Vector3(-1.394555e11,5.103346e10,0),new Vector3(-10308.53,-28169.38,0));
@ -29,9 +27,6 @@ public class Aufgabe1Test {
// check distance to target position (should be zero)
testValue(earth.distanceTo(targetPositionEarth), 0);
// TODO: remove this line */
}
public static void testComparison(Object first, Object second, boolean expected) {