Commit de80d934 authored by Jakob Schöttl's avatar Jakob Schöttl

Fix test

parent a2b08f25
......@@ -39,7 +39,7 @@ public class TestTrajectory extends TestCase {
new Pedestrian(new AttributesAgent(-1), new Random()));
steps.forEach(step -> pedestriansByStep.put(step,
pedestrians.stream().map(ped -> ped.clone())
pedestrians.stream().map(ped -> (Agent) ped.clone())
.peek(ped -> ped.setPosition(
ped.getPosition().add(new VPoint(step.getStepNumber(), step.getStepNumber()))))
.collect(Collectors.toList())));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment