Check array length
This commit is contained in:
parent
91012ea62d
commit
d00a48f16e
@ -247,5 +247,6 @@ class TestBulkStreetFunctions(TestStreetFunctionsSetUp):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def assert_close_points(points_a_by_cartodb_id, points_b_by_cartodb_id):
|
def assert_close_points(points_a_by_cartodb_id, points_b_by_cartodb_id):
|
||||||
|
assert_equal(len(points_a_by_cartodb_id), len(points_b_by_cartodb_id))
|
||||||
for cartodb_id, point in points_a_by_cartodb_id.iteritems():
|
for cartodb_id, point in points_a_by_cartodb_id.iteritems():
|
||||||
assert_close_enough(point, points_b_by_cartodb_id[cartodb_id])
|
assert_close_enough(point, points_b_by_cartodb_id[cartodb_id])
|
||||||
|
Loading…
Reference in New Issue
Block a user