Fixed referencing to package name

This commit is contained in:
Brychan Dempsey 2021-06-07 21:25:01 +12:00
parent d66c23fcb3
commit 4354eac0cf
3 changed files with 3 additions and 3 deletions

2
.vscode/launch.json vendored
View File

@ -14,7 +14,7 @@
"type": "java",
"name": "Launch App",
"request": "launch",
"mainClass": "nz.ac.massey.programming_project_159333_s1_2021.App",
"mainClass": "nz.ac.massey.javaecs.App",
"projectName": "javaecs"
}
]

View File

@ -1,6 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>nz.ac.massey.programming_project_159333_s1_2021</groupId>
<groupId>nz.ac.massey.javaecs</groupId>
<artifactId>javaecs</artifactId>
<version>1.1-SNAPSHOT</version>
<properties>

View File

@ -62,7 +62,7 @@ class AppTest {
for (int i = 0; i < gameEngine.getMaxEntities() + 5; i++) {
if (i >= gameEngine.getMaxEntities()){
assertThrows(IndexOutOfBoundsException.class, () -> {
int entity = gameEngine.createEntity();
gameEngine.createEntity();
});
}
else{