Skip to content

Commit

Permalink
Update TestRoomNode3D.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mpewsey committed Jun 12, 2024
1 parent af542bb commit 7868e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/scripts/TestRoomNode3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ public async Task TestOnAreaEnteredCellArea()
public void TestGetCellActivityThrowsOutOfRangeException()
{
var room = new RoomNode3D() { Rows = 3, Columns = 3 };
Assertions.AssertThrown(() => room.GetCellActivity(-1, -1)).IsInstanceOf<IndexOutOfRangeException>();
Assertions.AssertThrown(() => room.GetCellActivity(-1, -1)).IsInstanceOf<IndexOutOfRangeException>();
Assertions.AssertThrown(() => room.GetCellActivity(-1, 1)).IsInstanceOf<IndexOutOfRangeException>();
Assertions.AssertThrown(() => room.GetCellActivity(1, -1)).IsInstanceOf<IndexOutOfRangeException>();
room.QueueFree();
}

Expand Down

0 comments on commit 7868e17

Please sign in to comment.