Skip to content

Commit b256bf1

Browse files
committed
add more testing files
1 parent 3393836 commit b256bf1

10 files changed

+20
-0
lines changed

sampledata/310derive_2.dat

1.33 KB
Binary file not shown.

sampledata/310derive_2.hea

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
310derive_2 1 360 1020
2+
310derive_2.dat 310 200 10 0 -5 -3380 0 col 1
3+
# 1020 samples * 4/3 bytes/sample = 1360 bytes exactly.

sampledata/310derive_3.dat

1.33 KB
Binary file not shown.

sampledata/310derive_3.hea

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
310derive_3 1 360 1018
2+
310derive_3.dat 310 200 10 0 -5 62172 0 ch1
3+
# 1020 samples * 4/3 = 1360 bytes
4+
# 1019 samples would still need 1360 bytes since it extends. This file tests 1018.
5+
# 1018 samples * 4/3 bytes/sample = 1357+1/3 bytes. The last sample extends into 1358.
6+
# The dat file is 1358 bytes.
7+
# wfdb c CAN read this.

sampledata/311derive_2.dat

1.33 KB
Binary file not shown.

sampledata/311derive_2.hea

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
311derive_2 1 360 1020
2+
311derive_2.dat 311 200 10 0 -5 -3380 0 col 1

sampledata/311derive_3.dat

1.33 KB
Binary file not shown.

sampledata/311derive_3.hea

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
311derive_3 1 360 1019
2+
311derive_3.dat 311 200 10 0 -5 62164 0 ch1
3+
# The dat file is 1359 bytes. 1019*4/3 = 1358+2/3. Extends into 1359.
4+
# wfdb c rdsamp fails to read this!

sampledata/311derive_4.dat

1.33 KB
Binary file not shown.

sampledata/311derive_4.hea

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
311derive_4 1 360 1018
2+
311derive_4.dat 311 200 10 0 -5 62172 0 ch1
3+
# The dat file is 1358 bytes. 1018*4/3 = 1357+1/3. Extends into 1358.
4+
# wfdb c rdsamp CAN read this!

0 commit comments

Comments
 (0)