Mercurial > hg > nsaunier > traffic-intelligence
comparison python/tests/utils.txt @ 516:bce1fe45d1b2
corrected bugs detected by tests (because of moving functions around modules
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Fri, 06 Jun 2014 14:14:01 -0400 |
| parents | abe0b2347d4c |
| children | 9990ef119bce |
comparison
equal
deleted
inserted
replaced
| 515:727e3c529519 | 516:bce1fe45d1b2 |
|---|---|
| 17 True | 17 True |
| 18 >>> inBetween(2.1,1,1.5) | 18 >>> inBetween(2.1,1,1.5) |
| 19 True | 19 True |
| 20 >>> inBetween(1,2,0) | 20 >>> inBetween(1,2,0) |
| 21 False | 21 False |
| 22 | |
| 23 >>> f = openCheck('non_existant_file.txt') | |
| 24 File non_existant_file.txt could not be opened. | |
| 25 | 22 |
| 26 >>> removeExtension('test-adfasdf.asdfa.txt') | 23 >>> removeExtension('test-adfasdf.asdfa.txt') |
| 27 'test-adfasdf.asdfa' | 24 'test-adfasdf.asdfa' |
| 28 >>> removeExtension('test-adfasdf') | 25 >>> removeExtension('test-adfasdf') |
| 29 'test-adfasdf' | 26 'test-adfasdf' |
