ReadComponent should no longer throw
parent
8097c4433b
commit
5dd923e07a
|
@ -58,7 +58,9 @@ namespace Tests
|
|||
|
||||
world.Update(0.01f);
|
||||
|
||||
Assert.Throws<InvalidOperationException>(() => world.Draw());
|
||||
world.Draw();
|
||||
|
||||
Assert.That(result, Is.EqualTo((componentID, aComponent)).Or.EqualTo((componentTwoID, aComponentTwo)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue