Mercurial > hg > nsaunier > traffic-intelligence
changeset 1057:a7ada64b8214
corrected storage.py tests
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 09 Jul 2018 16:21:03 -0400 |
| parents | 093e2b892ede |
| children | 16575ca4537d |
| files | trafficintelligence/tests/storage.txt |
| diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/trafficintelligence/tests/storage.txt Mon Jul 09 16:01:15 2018 -0400 +++ b/trafficintelligence/tests/storage.txt Mon Jul 09 16:21:03 2018 -0400 @@ -45,6 +45,8 @@ 4 >>> objects[1].positions.length() 4 +>>> remove('test.sqlite') + >>> align1 = Trajectory.fromPointList([Point(-1, 0), Point(20, 0)]) >>> align2 = Trajectory.fromPointList([Point(-9, -3), Point(6, 3)]) >>> align1.computeCumulativeDistances()
