Mercurial Hosting > traffic-intelligence
comparison trafficintelligence/tests/storage.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 | 093e2b892ede |
comparison
equal
deleted
inserted
replaced
1029:c6cf75a2ed08 | 1030:aafbc0bab925 |
---|---|
1 >>> from storage import * | |
2 >>> from io import StringIO | 1 >>> from io import StringIO |
3 >>> from moving import MovingObject, Point, TimeInterval, Trajectory, prepareSplines | 2 >>> from trafficintelligence.storage import * |
3 >>> from trafficintelligence.utils import openCheck, readline | |
4 >>> from trafficintelligence.moving import MovingObject, Point, TimeInterval, Trajectory, prepareSplines | |
4 | 5 |
5 >>> f = openCheck('non_existant_file.txt') | 6 >>> f = openCheck('non_existant_file.txt') |
6 File non_existant_file.txt could not be opened. | 7 File non_existant_file.txt could not be opened. |
7 | 8 |
8 >>> nonexistentFilename = "nonexistent" | 9 >>> nonexistentFilename = "nonexistent" |