Mercurial Hosting > traffic-intelligence
diff python/tests/utils.txt @ 152:74b1fc68d4df
re-organized code to avoid cyclic python module dependencies
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 06 Sep 2011 18:44:23 -0400 |
parents | 1a2ac2d4f53a |
children | 5957aa1d69e1 |
line wrap: on
line diff
--- a/python/tests/utils.txt Tue Sep 06 17:55:06 2011 -0400 +++ b/python/tests/utils.txt Tue Sep 06 18:44:23 2011 -0400 @@ -13,11 +13,12 @@ >>> ceilDecimals(1.23, 1) 1.3 ->>> 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)) ->>> segmentIntersection(Point(0,0),Point(2,0), Point(1,-1),Point(1,1)) -(1.000000,0.000000) ->>> segmentIntersection(Point(0,1),Point(2,0),Point(1,1),Point(1,2)) +>>> inBetween(1,2,1.5) +True +>>> inBetween(2.1,1,1.5) +True +>>> inBetween(1,2,0) +False >>> f = openCheck('non_existant_file.txt') File non_existant_file.txt could not be opened.