From 7868e17feaa84c8e8311a27d73f66f2a96325d70 Mon Sep 17 00:00:00 2001 From: Matt Pewsey <23442063+mpewsey@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:23:58 -0400 Subject: [PATCH] Update TestRoomNode3D.cs --- tests/scripts/TestRoomNode3D.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/scripts/TestRoomNode3D.cs b/tests/scripts/TestRoomNode3D.cs index 571ab93..6456593 100644 --- a/tests/scripts/TestRoomNode3D.cs +++ b/tests/scripts/TestRoomNode3D.cs @@ -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(); - Assertions.AssertThrown(() => room.GetCellActivity(-1, -1)).IsInstanceOf(); + Assertions.AssertThrown(() => room.GetCellActivity(-1, 1)).IsInstanceOf(); + Assertions.AssertThrown(() => room.GetCellActivity(1, -1)).IsInstanceOf(); room.QueueFree(); }