Browse Source

Merge remote-tracking branch 'origin/main'

main
Thoumi Ngonga Brice 2 years ago
parent
commit
5f13360e01
  1. 2
      .idea/hellsgamers.iml
  2. 5
      pom.xml
  3. 2
      src/Test/java/test_AIGridGUI.java
  4. 2
      src/Test/java/test_BShip.java
  5. 2
      src/Test/java/test_CollisionChecker.java
  6. 2
      src/Test/java/test_Ship.java
  7. 2
      src/Test/java/test_Snake.java
  8. 12
      src/main/java/PingPong/Paddle.java
  9. 22
      src/main/java/PingPong/Score.java
  10. BIN
      target/hellsgamers-1.0-SNAPSHOT.jar
  11. 2
      target/maven-archiver/pom.properties
  12. 1
      target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
  13. 5
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
  14. 5
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
  15. 65
      target/surefire-reports/TEST-test_AIGridGUI.xml
  16. 61
      target/surefire-reports/TEST-test_BShip.xml
  17. 69
      target/surefire-reports/TEST-test_CollisionChecker.xml
  18. 61
      target/surefire-reports/TEST-test_Ship.xml
  19. 63
      target/surefire-reports/TEST-test_Snake.xml
  20. 4
      target/surefire-reports/test_AIGridGUI.txt
  21. 4
      target/surefire-reports/test_BShip.txt
  22. 4
      target/surefire-reports/test_CollisionChecker.txt
  23. 4
      target/surefire-reports/test_Ship.txt
  24. 4
      target/surefire-reports/test_Snake.txt
  25. BIN
      target/test-classes/ShipTest.class
  26. BIN
      target/test-classes/test_AIGridGUI.class
  27. BIN
      target/test-classes/test_BShip.class
  28. BIN
      target/test-classes/test_CollisionChecker.class
  29. BIN
      target/test-classes/test_Ship.class
  30. BIN
      target/test-classes/test_Snake.class
  31. 4
      team.md

2
.idea/hellsgamers.iml

@ -7,7 +7,7 @@
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/test_/java" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/test_/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test_/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/Test/java" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" /> <excludeFolder url="file://$MODULE_DIR$/target" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />

5
pom.xml

@ -20,7 +20,12 @@
<version>3.0.0-M5</version> <version>3.0.0-M5</version>
<configuration> <configuration>
<skipTests>false</skipTests> <skipTests>false</skipTests>
<includes>
<include>test_*</include>
</includes>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

2
src/test_/java/AIGridGUITest.java → src/Test/java/test_AIGridGUI.java

@ -4,7 +4,7 @@ import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
public class AIGridGUITest {
public class test_AIGridGUI {
AIGridGUI aiGridGUI = new AIGridGUI(10, 10); AIGridGUI aiGridGUI = new AIGridGUI(10, 10);

2
src/test_/java/BShipTest.java → src/Test/java/test_BShip.java

@ -3,7 +3,7 @@ import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNotNull;
class BShipTest {
class test_BShip {
@Test @Test
public void testStartGame() { public void testStartGame() {
BShip bShip = new BShip(); BShip bShip = new BShip();

2
src/test_/java/CollisionCheckerTest.java → src/Test/java/test_CollisionChecker.java

@ -8,7 +8,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.assertTrue;
class CollisionCheckerTest {
class test_CollisionChecker {
CollisionChecker collisionChecker; CollisionChecker collisionChecker;
@BeforeEach @BeforeEach

2
src/test_/java/ShipTest.java → src/Test/java/test_Ship.java

@ -3,7 +3,7 @@ import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*; import static org.junit.jupiter.api.Assertions.*;
class ShipTest {
class test_Ship {
@Test @Test
void counter() { void counter() {

2
src/test_/java/SnakeTest.java → src/Test/java/test_Snake.java

@ -7,7 +7,7 @@ import java.util.ArrayList;
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertFalse;
class SnakeTest {
class test_Snake {
@Test @Test
public void testReset() { public void testReset() {
int gridSize = 20; int gridSize = 20;

12
src/main/java/PingPong/Paddle.java

@ -22,11 +22,19 @@ public class Paddle extends Rectangle {
} else if (id == 2) { } else if (id == 2) {
y2 = y; y2 = y;
} }
this.width = width;
this.height = height;
PaddleWidth(width);
PaddleHeight(height);
this.id = id; this.id = id;
} }
private void PaddleHeight(int height) {
this.height = height;
}
private void PaddleWidth(int width) {
this.width = width;
}
public void released(KeyEvent e) { public void released(KeyEvent e) {
if (e.getKeyCode() == KeyEvent.VK_W) { if (e.getKeyCode() == KeyEvent.VK_W) {

22
src/main/java/PingPong/Score.java

@ -16,13 +16,25 @@ public class Score extends Rectangle {
} }
public void draw(Graphics g) { public void draw(Graphics g) {
g.setColor(Color.white);
g.setFont(new Font("Consolas", Font.BOLD,50));
g.drawLine(FRAME_WIDTH/2, 0, FRAME_WIDTH/2, FRAME_HEIGHT);
g.drawOval((FRAME_WIDTH/2)-(COURT_CIRCLE/2), (FRAME_HEIGHT/2) - (COURT_CIRCLE/2), COURT_CIRCLE,COURT_CIRCLE);
g.fillOval((FRAME_WIDTH/2)-(CENTER_DOT/2), (FRAME_HEIGHT/2) - (CENTER_DOT/2), CENTER_DOT,CENTER_DOT);
ScoreColor(g);
g.setFont(new Font("Consolas", Font.BOLD,50));
drawScoreLine(g);
drawScoreOval(g);
g.fillOval((FRAME_WIDTH/2)-(CENTER_DOT/2), (FRAME_HEIGHT/2) - (CENTER_DOT/2), CENTER_DOT,CENTER_DOT);
g.drawString(String.valueOf(player_1/10) + String.valueOf(player_1%10), (FRAME_WIDTH/2)- 75, 50); g.drawString(String.valueOf(player_1/10) + String.valueOf(player_1%10), (FRAME_WIDTH/2)- 75, 50);
g.drawString(String.valueOf(player_2/10) + String.valueOf(player_2%10), (FRAME_WIDTH/2)+ 20, 50); g.drawString(String.valueOf(player_2/10) + String.valueOf(player_2%10), (FRAME_WIDTH/2)+ 20, 50);
} }
private void drawScoreOval(Graphics g) {
g.drawOval((FRAME_WIDTH/2)-(COURT_CIRCLE/2), (FRAME_HEIGHT/2) - (COURT_CIRCLE/2), COURT_CIRCLE,COURT_CIRCLE);
}
private static void drawScoreLine(Graphics g) {
g.drawLine(FRAME_WIDTH/2, 0, FRAME_WIDTH/2, FRAME_HEIGHT);
}
private static void ScoreColor(Graphics g) {
g.setColor(Color.white);
}
} }

BIN
target/hellsgamers-1.0-SNAPSHOT.jar

2
target/maven-archiver/pom.properties

@ -1,5 +1,5 @@
#Generated by Maven #Generated by Maven
#Wed Feb 08 21:32:53 CET 2023
#Thu Feb 09 20:07:26 CET 2023
groupId=Hellsgamers groupId=Hellsgamers
artifactId=hellsgamers artifactId=hellsgamers
version=1.0-SNAPSHOT version=1.0-SNAPSHOT

1
target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst

@ -4,7 +4,6 @@ BattleShip\BSButton.class
Snake\Window.class Snake\Window.class
PingPong\GamePanel$AL.class PingPong\GamePanel$AL.class
Snake\Controller$1.class Snake\Controller$1.class
MenuPanel$GameFrame.class
BattleShip\Ship.class BattleShip\Ship.class
PingPong\Ball.class PingPong\Ball.class
BattleShip\BShip$NewGameListener.class BattleShip\BShip$NewGameListener.class

5
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst

@ -0,0 +1,5 @@
test_BShip.class
test_AIGridGUI.class
test_Snake.class
test_CollisionChecker.class
test_Ship.class

5
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

@ -0,0 +1,5 @@
C:\Users\Laura\IdeaProjects\hellsgamers\src\test\java\test_CollisionChecker.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\test\java\test_Snake.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\test\java\test_BShip.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\test\java\test_Ship.java
C:\Users\Laura\IdeaProjects\hellsgamers\src\test\java\test_AIGridGUI.java

65
target/surefire-reports/TEST-test_AIGridGUI.xml

@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="test_AIGridGUI" time="0.84" tests="5" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="17"/>
<property name="sun.cpu.isalist" value="amd64"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="sun.awt.enableExtraMouseButtons" value="true"/>
<property name="java.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="sun.arch.data.model" value="64"/>
<property name="user.variant" value=""/>
<property name="java.vendor.url" value="https://java.oracle.com/"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="os.name" value="Windows 10"/>
<property name="java.vm.specification.version" value="17"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="DE"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-17\bin"/>
<property name="sun.java.command" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191 2023-02-09T20-07-21_749-jvmRun1 surefire554125048120407044tmp surefire_011862512070292878614tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="C:\Users\Laura"/>
<property name="user.language" value="de"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2021-09-14"/>
<property name="java.home" value="C:\Program Files\Java\jdk-17"/>
<property name="file.separator" value="\"/>
<property name="basedir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="17+35-LTS-2724"/>
<property name="user.name" value="Laura"/>
<property name="path.separator" value=";"/>
<property name="os.version" value="10.0"/>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="file.encoding" value="Cp1252"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="localRepository" value="C:\Users\Laura\.m2\repository"/>
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
<property name="java.io.tmpdir" value="C:\Users\Laura\AppData\Local\Temp\"/>
<property name="java.version" value="17"/>
<property name="user.dir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="os.arch" value="amd64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="sun.os.patch.level" value=""/>
<property name="native.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Users\Laura\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Laura\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Users\Laura\Desktop\apache-maven-3.8.7-bin\apache-maven-3.8.7\bin;C:\Users\Laura\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.vm.version" value="17+35-LTS-2724"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="61.0"/>
</properties>
<testcase name="testMoveUpForValidInput" classname="test_AIGridGUI" time="0.112"/>
<testcase name="testPlaceShips" classname="test_AIGridGUI" time="0.037"/>
<testcase name="testMoveDown" classname="test_AIGridGUI" time="0.007"/>
<testcase name="testMoveLeft" classname="test_AIGridGUI" time="0.014"/>
<testcase name="testMoveRight" classname="test_AIGridGUI" time="0.017"/>
</testsuite>

61
target/surefire-reports/TEST-test_BShip.xml

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="test_BShip" time="0.7" tests="1" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="17"/>
<property name="sun.cpu.isalist" value="amd64"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="sun.awt.enableExtraMouseButtons" value="true"/>
<property name="java.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="sun.arch.data.model" value="64"/>
<property name="user.variant" value=""/>
<property name="java.vendor.url" value="https://java.oracle.com/"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="os.name" value="Windows 10"/>
<property name="java.vm.specification.version" value="17"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="DE"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-17\bin"/>
<property name="sun.java.command" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191 2023-02-09T20-07-21_749-jvmRun1 surefire554125048120407044tmp surefire_011862512070292878614tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="C:\Users\Laura"/>
<property name="user.language" value="de"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2021-09-14"/>
<property name="java.home" value="C:\Program Files\Java\jdk-17"/>
<property name="file.separator" value="\"/>
<property name="basedir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="17+35-LTS-2724"/>
<property name="user.name" value="Laura"/>
<property name="path.separator" value=";"/>
<property name="os.version" value="10.0"/>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="file.encoding" value="Cp1252"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="localRepository" value="C:\Users\Laura\.m2\repository"/>
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
<property name="java.io.tmpdir" value="C:\Users\Laura\AppData\Local\Temp\"/>
<property name="java.version" value="17"/>
<property name="user.dir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="os.arch" value="amd64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="sun.os.patch.level" value=""/>
<property name="native.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Users\Laura\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Laura\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Users\Laura\Desktop\apache-maven-3.8.7-bin\apache-maven-3.8.7\bin;C:\Users\Laura\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.vm.version" value="17+35-LTS-2724"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="61.0"/>
</properties>
<testcase name="testStartGame" classname="test_BShip" time="0.698"/>
</testsuite>

69
target/surefire-reports/TEST-test_CollisionChecker.xml

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="test_CollisionChecker" time="0.035" tests="9" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="17"/>
<property name="sun.cpu.isalist" value="amd64"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="sun.awt.enableExtraMouseButtons" value="true"/>
<property name="java.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="sun.arch.data.model" value="64"/>
<property name="user.variant" value=""/>
<property name="java.vendor.url" value="https://java.oracle.com/"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="os.name" value="Windows 10"/>
<property name="java.vm.specification.version" value="17"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="DE"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-17\bin"/>
<property name="sun.java.command" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191 2023-02-09T20-07-21_749-jvmRun1 surefire554125048120407044tmp surefire_011862512070292878614tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="C:\Users\Laura"/>
<property name="user.language" value="de"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2021-09-14"/>
<property name="java.home" value="C:\Program Files\Java\jdk-17"/>
<property name="file.separator" value="\"/>
<property name="basedir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="17+35-LTS-2724"/>
<property name="user.name" value="Laura"/>
<property name="path.separator" value=";"/>
<property name="os.version" value="10.0"/>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="file.encoding" value="Cp1252"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="localRepository" value="C:\Users\Laura\.m2\repository"/>
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
<property name="java.io.tmpdir" value="C:\Users\Laura\AppData\Local\Temp\"/>
<property name="java.version" value="17"/>
<property name="user.dir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="os.arch" value="amd64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="sun.os.patch.level" value=""/>
<property name="native.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Users\Laura\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Laura\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Users\Laura\Desktop\apache-maven-3.8.7-bin\apache-maven-3.8.7\bin;C:\Users\Laura\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.vm.version" value="17+35-LTS-2724"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="61.0"/>
</properties>
<testcase name="WhenBallYCoordinateIsLessOrEqualThanZero_didTouchTopOrBottomEdge_ReturnsTrue" classname="test_CollisionChecker" time="0.007"/>
<testcase name="WhenBallYCoordinateIsMoreOrEqualToMaxHeight_didTouchTopOrBottomEdge_ReturnsTrue" classname="test_CollisionChecker" time="0.002"/>
<testcase name="WhenBallRectangleIntersectsWithPaddleRectangle_didTouchPaddle_ReturnsTrue" classname="test_CollisionChecker" time="0.002"/>
<testcase name="WhenBallRectangleDoesNotIntersectsWithPaddleRectangle_didTouchPaddle_ReturnsFalse" classname="test_CollisionChecker" time="0.003"/>
<testcase name="WhenBallXCoordinateIsLessOrEqualThanZero_didTouchLeftEdge_ReturnsTrue" classname="test_CollisionChecker" time="0.001"/>
<testcase name="WhenBallXCoordinateIsLessThanMaxWidth_didTouchRightEdge_ReturnsFalse" classname="test_CollisionChecker" time="0.001"/>
<testcase name="WhenBallXCoordinateIsMoreOrEqualToMaxWidth_didTouchRightEdge_ReturnsTrue" classname="test_CollisionChecker" time="0.002"/>
<testcase name="WhenBallXCoordinateIsMoreThanZero_didTouchLeftEdge_ReturnsTrue" classname="test_CollisionChecker" time="0.002"/>
<testcase name="WhenBallYCoordinateIsMoreThanZeroAndLessThanMaxHeight_didTouchTopOrBottomEdge_ReturnsFalse" classname="test_CollisionChecker" time="0.002"/>
</testsuite>

61
target/surefire-reports/TEST-test_Ship.xml

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="test_Ship" time="0.004" tests="1" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="17"/>
<property name="sun.cpu.isalist" value="amd64"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="sun.awt.enableExtraMouseButtons" value="true"/>
<property name="java.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="sun.arch.data.model" value="64"/>
<property name="user.variant" value=""/>
<property name="java.vendor.url" value="https://java.oracle.com/"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="os.name" value="Windows 10"/>
<property name="java.vm.specification.version" value="17"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="DE"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-17\bin"/>
<property name="sun.java.command" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191 2023-02-09T20-07-21_749-jvmRun1 surefire554125048120407044tmp surefire_011862512070292878614tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="C:\Users\Laura"/>
<property name="user.language" value="de"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2021-09-14"/>
<property name="java.home" value="C:\Program Files\Java\jdk-17"/>
<property name="file.separator" value="\"/>
<property name="basedir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="17+35-LTS-2724"/>
<property name="user.name" value="Laura"/>
<property name="path.separator" value=";"/>
<property name="os.version" value="10.0"/>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="file.encoding" value="Cp1252"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="localRepository" value="C:\Users\Laura\.m2\repository"/>
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
<property name="java.io.tmpdir" value="C:\Users\Laura\AppData\Local\Temp\"/>
<property name="java.version" value="17"/>
<property name="user.dir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="os.arch" value="amd64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="sun.os.patch.level" value=""/>
<property name="native.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Users\Laura\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Laura\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Users\Laura\Desktop\apache-maven-3.8.7-bin\apache-maven-3.8.7\bin;C:\Users\Laura\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.vm.version" value="17+35-LTS-2724"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="61.0"/>
</properties>
<testcase name="counter" classname="test_Ship" time="0.001"/>
</testsuite>

63
target/surefire-reports/TEST-test_Snake.xml

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuite xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/surefire-test-report-3.0.xsd" version="3.0" name="test_Snake" time="0.015" tests="3" errors="0" skipped="0" failures="0">
<properties>
<property name="java.specification.version" value="17"/>
<property name="sun.cpu.isalist" value="amd64"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="sun.awt.enableExtraMouseButtons" value="true"/>
<property name="java.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="sun.arch.data.model" value="64"/>
<property name="user.variant" value=""/>
<property name="java.vendor.url" value="https://java.oracle.com/"/>
<property name="user.timezone" value="Europe/Berlin"/>
<property name="os.name" value="Windows 10"/>
<property name="java.vm.specification.version" value="17"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="user.country" value="DE"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jdk-17\bin"/>
<property name="sun.java.command" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191 2023-02-09T20-07-21_749-jvmRun1 surefire554125048120407044tmp surefire_011862512070292878614tmp"/>
<property name="jdk.debug" value="release"/>
<property name="surefire.test.class.path" value="C:\Users\Laura\IdeaProjects\hellsgamers\target\test-classes;C:\Users\Laura\IdeaProjects\hellsgamers\target\classes;C:\Users\Laura\.m2\repository\junit\junit\4.13.2\junit-4.13.2.jar;C:\Users\Laura\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter\5.8.1\junit-jupiter-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.8.1\junit-jupiter-api-5.8.1.jar;C:\Users\Laura\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-commons\1.8.1\junit-platform-commons-1.8.1.jar;C:\Users\Laura\.m2\repository\org\apiguardian\apiguardian-api\1.1.2\apiguardian-api-1.1.2.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.8.1\junit-jupiter-params-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.8.1\junit-jupiter-engine-5.8.1.jar;C:\Users\Laura\.m2\repository\org\junit\platform\junit-platform-engine\1.8.1\junit-platform-engine-1.8.1.jar;"/>
<property name="sun.cpu.endian" value="little"/>
<property name="user.home" value="C:\Users\Laura"/>
<property name="user.language" value="de"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="java.version.date" value="2021-09-14"/>
<property name="java.home" value="C:\Program Files\Java\jdk-17"/>
<property name="file.separator" value="\"/>
<property name="basedir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="java.vm.compressedOopsMode" value="32-bit"/>
<property name="line.separator" value="&#10;"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="surefire.real.class.path" value="C:\Users\Laura\AppData\Local\Temp\surefire10052371721095918191\surefirebooter16426829952227023123.jar"/>
<property name="user.script" value=""/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="java.runtime.version" value="17+35-LTS-2724"/>
<property name="user.name" value="Laura"/>
<property name="path.separator" value=";"/>
<property name="os.version" value="10.0"/>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="file.encoding" value="Cp1252"/>
<property name="java.vm.name" value="Java HotSpot(TM) 64-Bit Server VM"/>
<property name="localRepository" value="C:\Users\Laura\.m2\repository"/>
<property name="java.vendor.url.bug" value="https://bugreport.java.com/bugreport/"/>
<property name="java.io.tmpdir" value="C:\Users\Laura\AppData\Local\Temp\"/>
<property name="java.version" value="17"/>
<property name="user.dir" value="C:\Users\Laura\IdeaProjects\hellsgamers"/>
<property name="os.arch" value="amd64"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="sun.os.patch.level" value=""/>
<property name="native.encoding" value="Cp1252"/>
<property name="java.library.path" value="C:\Program Files\Java\jdk-17\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Users\Laura\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Laura\bin;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Users\Laura\Desktop\apache-maven-3.8.7-bin\apache-maven-3.8.7\bin;C:\Users\Laura\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;."/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.vm.version" value="17+35-LTS-2724"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="java.class.version" value="61.0"/>
</properties>
<testcase name="testIsSelfColliding" classname="test_Snake" time="0.006"/>
<testcase name="testReset" classname="test_Snake" time="0.002"/>
<testcase name="testUpdate" classname="test_Snake" time="0.003"/>
</testsuite>

4
target/surefire-reports/test_AIGridGUI.txt

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: test_AIGridGUI
-------------------------------------------------------------------------------
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.84 s - in test_AIGridGUI

4
target/surefire-reports/test_BShip.txt

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: test_BShip
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.7 s - in test_BShip

4
target/surefire-reports/test_CollisionChecker.txt

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: test_CollisionChecker
-------------------------------------------------------------------------------
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 s - in test_CollisionChecker

4
target/surefire-reports/test_Ship.txt

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: test_Ship
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 s - in test_Ship

4
target/surefire-reports/test_Snake.txt

@ -0,0 +1,4 @@
-------------------------------------------------------------------------------
Test set: test_Snake
-------------------------------------------------------------------------------
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 s - in test_Snake

BIN
target/test-classes/ShipTest.class

BIN
target/test-classes/AIGridGUITest.class → target/test-classes/test_AIGridGUI.class

BIN
target/test-classes/BShipTest.class → target/test-classes/test_BShip.class

BIN
target/test-classes/CollisionCheckerTest.class → target/test-classes/test_CollisionChecker.class

BIN
target/test-classes/test_Ship.class

BIN
target/test-classes/SnakeTest.class → target/test-classes/test_Snake.class

4
team.md

@ -1,4 +1,6 @@
- Berkan Sarp, fdai4616 - Berkan Sarp, fdai4616
- Justin Senn, fdai7107 - Justin Senn, fdai7107
- Eren Esen, fdai4581 - Eren Esen, fdai4581
- Brice Tchoumi, fdai6138
- Brice Tchoumi, fdai6138
Bei Berkan, die mit der FD Nummer bewerten.
Loading…
Cancel
Save