}
}
@Test
public void intervalSystem(){
Engine engine = new Engine();
IntervalSystemSpy intervalSystemSpy = new IntervalSystemSpy();
engine.addSystem(intervalSystemSpy);
for (int i = 1; i <= 10; ++i) {
engine.update(deltaTime);
assertEquals(i / 2, intervalSystemSpy.numUpdates);
}
}