Skip to content

Commit a84e316

Browse files
committed
test: restore missing comments in DEVICE_TIME_RANGE_CASES
1 parent 22d6bd7 commit a84e316

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_experiment.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,17 @@
1818
# --- Test Data and Mocks ---
1919

2020
DEVICE_TIME_RANGE_CASES = [
21+
# Single device: start and end should match that device's range
2122
([(2.0, 9.0)], 2.0, 9.0),
23+
# Two devices with different ranges: start should be min, end should be max
2224
([(1.0, 8.0), (0.0, 10.0)], 0.0, 10.0),
25+
# Three devices with different ranges: start should be min, end should be max
2326
([(0.0, 10.0), (1.0, 8.0), (2.0, 9.0)], 0.0, 10.0),
27+
# Devices with non-overlapping ranges: start should be min, end should be max
2428
([(0.0, 3.0), (7.0, 8.0)], 0.0, 8.0),
29+
# Devices with identical ranges: start and end should match that range
2530
([(1.0, 5.0), (1.0, 5.0)], 1.0, 5.0),
31+
# Large time stamps: start should be min, end should be max
2632
([(1e9, 1e9 + 100), (1e9 - 50, 1e9 + 50)], 1e9 - 50, 1e9 + 100),
2733
]
2834

0 commit comments

Comments
 (0)