Mercurial > hg > nsaunier > traffic-intelligence
diff python/tests/utils.txt @ 745:3d0321abb564 dev
merged
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Thu, 10 Sep 2015 15:49:13 -0400 |
| parents | 4b3518f6dd01 |
| children | 8e8ec4ece66e |
line wrap: on
line diff
--- a/python/tests/utils.txt Thu Sep 10 15:48:01 2015 -0400 +++ b/python/tests/utils.txt Thu Sep 10 15:49:13 2015 -0400 @@ -1,6 +1,14 @@ >>> from utils import * >>> from moving import Point +>>> upperCaseFirstLetter('mmmm... donuts') +'Mmmm... Donuts' +>>> s = upperCaseFirstLetter('much ado about nothing') +>>> s == 'Much Ado About Nothing' +True +>>> upperCaseFirstLetter(s) == s +True + >>> computeChi2([],[]) 0.0 >>> computeChi2(range(1,10),range(1,10))
