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:
Alexander Hess 2026-12-03 10:52:09 +01:00
commit bca4250b4d
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -27,8 +27,7 @@ def horizontal_datetime_index():
index = pd.Index(gen)
index.name = "start_at"
# Sanity check.
# `+1` as both the `START` and `END` day are included.
# `n_days` includes both the `START` and `END` day => `+1`
n_days = (test_config.END - test_config.START).days + 1
assert len(index) == n_days
@ -63,8 +62,7 @@ def vertical_datetime_index():
index = pd.Index(gen)
index.name = "start_at"
# Sanity check: n_days * n_number_of_opening_hours.
# `+1` as both the `START` and `END` day are included.
# `n_days` includes both the `START` and `END` day => `+1`
n_days = (test_config.END - test_config.START).days + 1
assert len(index) == n_days * 12
@ -122,8 +120,7 @@ def order_totals(good_pixel_id):
df = pd.DataFrame(data={"n_orders": 1}, index=index)
# Sanity check: n_pixels * n_time_steps_per_day * n_days.
# `+1` as both the `START` and `END` day are included.
# `n_days` includes both the `START` and `END` day => `+1`
n_days = (test_config.END - test_config.START).days + 1
assert len(df) == 2 * 12 * n_days