Mercurial Hosting > traffic-intelligence
comparison trafficintelligence/tests/utils.txt @ 1030:aafbc0bab925
moved method around to avoid cross-dependencies
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Tue, 19 Jun 2018 10:04:52 -0400 |
parents | cc5cb04b04b0 |
children | 4069d8545922 |
comparison
equal
deleted
inserted
replaced
1029:c6cf75a2ed08 | 1030:aafbc0bab925 |
---|---|
1 >>> from utils import * | 1 >>> from trafficintelligence.utils import * |
2 >>> from moving import Point | 2 >>> from trafficintelligence.moving import Point |
3 | 3 |
4 >>> upperCaseFirstLetter('mmmm... donuts') | 4 >>> upperCaseFirstLetter('mmmm... donuts') |
5 'Mmmm... Donuts' | 5 'Mmmm... Donuts' |
6 >>> s = upperCaseFirstLetter('much ado about nothing') | 6 >>> s = upperCaseFirstLetter('much ado about nothing') |
7 >>> s == 'Much Ado About Nothing' | 7 >>> s == 'Much Ado About Nothing' |