Create basic player #2
8
pom.xml
8
pom.xml
@@ -13,5 +13,13 @@
|
|||||||
<maven.compiler.target>23</maven.compiler.target>
|
<maven.compiler.target>23</maven.compiler.target>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
<artifactId>junit-jupiter</artifactId>
|
||||||
|
<version>5.8.1</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
public class Player {
|
public class Player {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
12
src/test/java/PlayerTest.java
Normal file
12
src/test/java/PlayerTest.java
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
|
import static org.junit.jupiter.api.Assertions.*;
|
||||||
|
|
||||||
|
class PlayerTest {
|
||||||
|
@Test
|
||||||
|
public void instantiates() {
|
||||||
|
var p = new Player();
|
||||||
|
assertNotNull(p);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user