Reword the comments in the test suite
Each comment is one sentence or two short ones joined by "=>", without a final period.
This commit is contained in:
parent
0f69709226
commit
bca4250b4d
1 changed files with 39 additions and 59 deletions
|
|
@ -115,8 +115,8 @@ class TestGridification:
|
|||
"""
|
||||
addresses_mock.return_value = []
|
||||
|
||||
# The chosen `side_length` would result in one `Pixel` if there were orders.
|
||||
# `+1` as otherwise there would be a second pixel in one direction.
|
||||
# One `Pixel` would cover the whole `city` if there were orders
|
||||
# => `+1` as otherwise there would be a second one in one direction
|
||||
side_length = max(city.total_x, city.total_y) + 1
|
||||
|
||||
result = db.Grid.gridify(city=city, side_length=side_length)
|
||||
|
|
@ -203,7 +203,7 @@ class TestGridification:
|
|||
addresses_mock.return_value = [
|
||||
# One `Address` in the lower-left `Pixel`, ...
|
||||
make_address(latitude=48.8357377, longitude=2.2517412),
|
||||
# ... and another one in the upper-right one.
|
||||
# ... and another one in the upper-right one
|
||||
make_address(latitude=48.8898312, longitude=2.4357622),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue