comparison trafficintelligence/tests/moving.txt @ 1180:dc28364f34b9

minor cleanup
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Sun, 27 Mar 2022 00:54:12 -0400
parents aa88acf06876
children 69b531c7a061
comparison
equal deleted inserted replaced
1179:2039df59c47b 1180:dc28364f34b9
333 >>> f12.getPositions().length() 333 >>> f12.getPositions().length()
334 5 334 5
335 >>> f12.getVelocities().length() 335 >>> f12.getVelocities().length()
336 5 336 5
337 337
338 >>> o14, f14 = MovingObject.concatenate(o1, o4, 16) 338 >>> o14, f14 = MovingObject.concatenate(o1, o4, 16, 16)
339 >>> len(o14.getFeatures()) 339 >>> len(o14.getFeatures())
340 2 340 3
341 >>> o14.getPositionAtInstant(10) == o1.getPositionAtInstant(10) 341 >>> o14.getPositionAtInstant(10) == o1.getPositionAtInstant(10)
342 True 342 True
343 >>> o14.getPositionAtInstant(11) == o4.getPositionAtInstant(11) 343 >>> o14.getPositionAtInstant(11) == o4.getPositionAtInstant(11)
344 True 344 True
345 345