Skip to content
Snippets Groups Projects
Commit 82b9cec5 authored by phenixceleste's avatar phenixceleste
Browse files

typing error in Test.scala corrected

parent e501daaf
No related branches found
No related tags found
1 merge request!5Resolve "Type class"
Pipeline #9672 passed with stage
in 1 minute and 57 seconds
......@@ -4,7 +4,7 @@ import org.scalatest.funsuite.AnyFunSuite
class StackSpec extends AnyFunSuite:
test("Strong type should have increased damage multiplicator") {
assert(Fire.typeEfficiency(Grass).fatcor == 2.0)
assert(Fire.typeEfficiency(Grass).factor == 2.0)
}
test("Weak type should have decreased damage multiplicator") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment