Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNisnevich committed May 15, 2023
1 parent f3c903c commit ca66d77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/scala/wordbots/ParserSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class ParserSpec extends FlatSpec with Matchers {
parse("Deal 3 damage to an enemy robot up to 3 tiles away from your kernel") shouldEqual
DealDamage(ChooseO(ObjectsMatchingConditions(Robot, List(ControlledBy(Opponent), WithinDistanceOf(Scalar(3), ObjectsMatchingConditions(Kernel ,List(ControlledBy(Self))))))), Scalar(3))
parse("Pay all your energy") shouldEqual PayEnergy(Self, EnergyAmount(Self))
parse("Spawn a copy of this object on an adjacent tile") shouldEqaul SpawnObject(CopyOfC(ThisObject), ChooseT(TilesMatchingConditions(List(AdjacentTo(They))), Scalar(1)), Self)
parse("Spawn a copy of this object on an adjacent tile") shouldEqual SpawnObject(CopyOfC(ThisObject), ChooseT(TilesMatchingConditions(List(AdjacentTo(They))), Scalar(1)), Self)
}

it should "treat 'with' as 'that has'" in {
Expand Down

0 comments on commit ca66d77

Please sign in to comment.