Skip to content

Commit 7868e17

Browse files
committed
Update TestRoomNode3D.cs
1 parent af542bb commit 7868e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/scripts/TestRoomNode3D.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ public async Task TestOnAreaEnteredCellArea()
257257
public void TestGetCellActivityThrowsOutOfRangeException()
258258
{
259259
var room = new RoomNode3D() { Rows = 3, Columns = 3 };
260-
Assertions.AssertThrown(() => room.GetCellActivity(-1, -1)).IsInstanceOf<IndexOutOfRangeException>();
261-
Assertions.AssertThrown(() => room.GetCellActivity(-1, -1)).IsInstanceOf<IndexOutOfRangeException>();
260+
Assertions.AssertThrown(() => room.GetCellActivity(-1, 1)).IsInstanceOf<IndexOutOfRangeException>();
261+
Assertions.AssertThrown(() => room.GetCellActivity(1, -1)).IsInstanceOf<IndexOutOfRangeException>();
262262
room.QueueFree();
263263
}
264264

0 commit comments

Comments
 (0)