fix broken test
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
36e98b0376
commit
00614661ec
|
@ -13,7 +13,7 @@ namespace Tests
|
|||
|
||||
class TestRenderer : Renderer
|
||||
{
|
||||
public override void Render()
|
||||
public override void Render(double dt, double alpha)
|
||||
{
|
||||
ref readonly var entity = ref ReadEntity<AComponent>();
|
||||
result = (GetComponent<AComponent>(entity), entity);
|
||||
|
@ -34,10 +34,10 @@ namespace Tests
|
|||
var world = worldBuilder.Build();
|
||||
|
||||
world.Update(0.01f);
|
||||
world.Draw();
|
||||
world.Draw(0.01f, 0);
|
||||
|
||||
world.Update(0.01);
|
||||
world.Draw();
|
||||
world.Draw(0.01f, 0);
|
||||
|
||||
Assert.That(result, Is.EqualTo((aComponent, entity)));
|
||||
}
|
||||
|
@ -59,10 +59,10 @@ namespace Tests
|
|||
var world = worldBuilder.Build();
|
||||
|
||||
world.Update(0.01f);
|
||||
world.Draw();
|
||||
world.Draw(0.01f, 0);
|
||||
|
||||
world.Update(0.01f);
|
||||
world.Draw();
|
||||
world.Draw(0.01f, 0);
|
||||
|
||||
Assert.That(result, Is.EqualTo((aComponent, entity)).Or.EqualTo((aComponentTwo, entityB)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue