Skip to content

Commit

Permalink
Add junit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo-Venturini committed Jun 21, 2023
1 parent addfab6 commit ab9f129
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
7 changes: 4 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
ThisBuild / version := "0.1.0-SNAPSHOT"

ThisBuild / scalaVersion := "2.13.11"
ThisBuild / scalaVersion := "3.2.2"

lazy val root = (project in file("."))
.settings(
name := "PlagueDotScala"
)
name := "PlagueDotScala",
libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test
)
3 changes: 3 additions & 0 deletions src/main/scala/controller/GameEngine.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
package controller

class GameEngine():
def start(): Void =
start()

5 changes: 0 additions & 5 deletions src/main/scala/model/World.scala

This file was deleted.

5 changes: 5 additions & 0 deletions src/main/scala/model/world/Region.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package model.world

class Region {

}
5 changes: 0 additions & 5 deletions src/test/scala/model/TestWorld.scala

This file was deleted.

7 changes: 7 additions & 0 deletions src/test/scala/model/world/TestRegion.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package model.world
import org.junit.Assert.assertEquals
import org.junit.Test

class TestRegion {

}

0 comments on commit ab9f129

Please sign in to comment.