From a24b50bee22a930cb134a84e708bac4b3583e4ba Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Mon, 31 May 2021 20:39:31 +1000 Subject: [PATCH] Revert broadphase test (#4116) --- Content.IntegrationTests/Tests/GridTileLookupTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.IntegrationTests/Tests/GridTileLookupTest.cs b/Content.IntegrationTests/Tests/GridTileLookupTest.cs index d67d570a3d..92c456e8cd 100644 --- a/Content.IntegrationTests/Tests/GridTileLookupTest.cs +++ b/Content.IntegrationTests/Tests/GridTileLookupTest.cs @@ -53,15 +53,15 @@ namespace Content.IntegrationTests.Tests entityManager.SpawnEntity("Dummy", new EntityCoordinates(gridOne.GridEntityId, Vector2.One)); var entityTiles = tileLookup.GetIndices(entityOne); - Assert.That(entityTiles.Count, Is.EqualTo(1)); + Assert.That(entityTiles.Count, Is.EqualTo(4)); entities = tileLookup.GetEntitiesIntersecting(entityOne).ToList(); - Assert.That(entities.Count, Is.EqualTo(1)); + Assert.That(entities.Count, Is.EqualTo(5)); entityManager.SpawnEntity("Dummy", new EntityCoordinates(gridOne.GridEntityId, Vector2.Zero)); entities = tileLookup.GetEntitiesIntersecting(gridOne.Index, new Vector2i(0, 0)).ToList(); - Assert.That(entities.Count, Is.EqualTo(2)); + Assert.That(entities.Count, Is.EqualTo(3)); }); await server.WaitIdleAsync();