fix broken test
continuous-integration/drone/push Build is passing Details

main
cosmonaut 2021-03-23 17:50:05 -07:00
parent 36e98b0376
commit 00614661ec
1 changed files with 5 additions and 5 deletions

View File

@ -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)));
}