sys.update(0.01f);
assertEquals(5, count);
Singleton single = Singleton.get();
single.init(null);
PositioningSystem ps = Singleton.get().getPosSystem();
PositioningComponent pos = new PositioningComponent();
pos.position = new Vector3f(10,0,0);
pos.startPos.set(pos.position);
pos.goalPos = new Vector3f(0,0,0);
pos.walkSpeed = 2f;
pos.maxSpeed = pos.walkSpeed;
ps.addComponentForUpdate(pos);
for(int i = 0; i<11;i++){
ps.update(1f);
}
assertEquals(pos.position, pos.goalPos);
}