Skip to content

Commit d36187d

Browse files
committed
Add regression tests for empty data
1 parent 0a37b2b commit d36187d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tests/data/empty_0.bin

Whitespace-only changes.

tests/test_io.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
DataFileParam(path="data/write_0.bin", expected_address=0, expected_rows=4, keep_type=True),
3333
DataFileParam(path="data/device_0.bin", expected_rows=300, repeat_data=300),
3434
DataFileParam(path="data/device_0.bin", expected_rows=1, epoch=REFERENCE_EPOCH),
35+
DataFileParam(path="data/empty_0.bin", expected_rows=0, epoch=REFERENCE_EPOCH),
36+
DataFileParam(path="data/empty_0.bin", expected_rows=0),
3537
]
3638

3739

0 commit comments

Comments
 (0)