ReadComponent should no longer throw

pull/5/head
Evan Hemsley 2019-08-01 16:48:02 -07:00
parent 8097c4433b
commit 5dd923e07a
1 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,9 @@ namespace Tests
world.Update(0.01f); world.Update(0.01f);
Assert.Throws<InvalidOperationException>(() => world.Draw()); world.Draw();
Assert.That(result, Is.EqualTo((componentID, aComponent)).Or.EqualTo((componentTwoID, aComponentTwo)));
} }
} }
} }