Mercurial Hosting > traffic-intelligence
diff python/tests/moving.txt @ 255:13ec22bec5d4
corrected typos and bugs and added a test
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Mon, 23 Jul 2012 23:07:19 -0400 |
parents | 99173da7afae |
children | f2cf16ad798f |
line wrap: on
line diff
--- a/python/tests/moving.txt Mon Jul 23 12:35:45 2012 -0400 +++ b/python/tests/moving.txt Mon Jul 23 23:07:19 2012 -0400 @@ -54,8 +54,8 @@ >>> Point(3,2).inPolygon([Point(0,0),Point(4,0),Point(4,3),Point(0,3)]) True ->>> predictPosition(10, Point(0,0), Point(1,1)) # doctest:+ELLIPSIS -(10...,10...) +>>> predictPositionNoLimit(10, Point(0,0), Point(1,1)) # doctest:+ELLIPSIS +((1.0...,1.0...), (10.0...,10.0...)) >>> segmentIntersection(Point(0,0),Point(1,1), Point(0,1), Point(1,2)) >>> segmentIntersection(Point(0,1),Point(1,0), Point(0,2), Point(2,1))