Upgrade origin-src to google transit feed 1.2.6
[bus.git] / origin-src / testmerge.pyc
1
2 ^'Kc @sdZdZddkZddkZddkZddkZddkZddkZddk Z ddk
3 Z
4
5
6 given in attrs. These checks are done using the given assert function.
7
8 Args:
9 a: The first object.
10 b: The second object.
11 attrs: The list of attribute names (strings).
12 assertEquals: The assertEquals method from unittest.TestCase.
13 N(tValidatetgetattr(tatbtattrst assertEqualstk((s?/home/anog/workspace/transitfeed-1.2.5/python/test/testmerge.pyt CheckAttribs!s
14
15 
16
17
18 Returns:
19 The agency object.
20
21
22 Attributes:
23 problems: The list of problems reported.
24
25 isinstance(Rtproblemt problem_class((s?/home/anog/workspace/transitfeed-1.2.5/python/test/testmerge.pyt_ReportKs
26 
27
28 q
29
30
31 Args:
32 problem_class: The problem class, a class inheriting from
33 MergeProblemWithContext.
34
35 Returns:
36 True if a matching problem was reported.
37 (RRtTruetFalse(RRR((s?/home/anog/workspace/transitfeed-1.2.5/python/test/testmerge.pyt CheckReportedSs
38
39
40
41
42 Args:
43 problem_class: The problem class, a class inheriting from
44 MergeProblemWithContext.
45
46
47
48 The assertions are done using the assert_ method of the testcase.
49
50 Args:
51 testcase: The unittest.TestCase instance.
52 N(Rtassert_R(RttestcaseR((s?/home/anog/workspace/transitfeed-1.2.5/python/test/testmerge.pytassertExpectedProblemsReportedks
53 (t__name__t
54
55
56 Args:
57 a: The first value (float).
58 b: The second value (float).
59 epsilon: The epsilon value (float).
60
61
62 d
63
64
65 FeedMergerRtfmt DataSetMergertdst_Migrate(Rt
66 a_schedulet
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86 d
87
88
89
90
91
92
93 GenerateIdtassertNotEqualR!t
94
95
96
97 RR R
98
99
100
101
102
103
104
105
106
107
108
109
110
111  
112 
113
114
115  
116
117
118
119 ti dd
120
121
122
123
124
125
126
127
128
129 d|i
130 _ d|i
131 _ d|i
132
133 Ng>@uAndr‚ts1sstop 1s http://stop/1tzone1ts2sstop 2s http://stop/2(R R:RR;RR<t
134
135
136
137
138
139
140
141
142
143
144
145
146 a_zone_mapt
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165 Returns:
166 The distance between the stops in metres, a value greater than zero.
167
168
169
170
171
172   
173
174 troute_short_nametroute_long_namet
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197 shape_in_bts_in_b((s?/home/anog/workspace/transitfeed-1.2.5/python/test/testmerge.pyttestConflictingTripid s"  
198
199
200
201 FareMergert
202
203
204
205
206 |i
207
208
209
210 d
211
212
213
214
215
216
217
218 The maximum of the distances between the endpoints is returned.
219
220 Returns:
221 The distance in metres, a value greater than zero.
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240   t__main__(!R&t
241