File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ def test_1f(self):
219
219
"Mismatch in %s" % name ,
220
220
)
221
221
222
- def test_read_flac (self ):
222
+ def test_read_write_flac (self ):
223
223
"""
224
224
All FLAC formats, multiple signal files in one record.
225
225
@@ -250,6 +250,11 @@ def test_read_flac(self):
250
250
f"Mismatch in { name } " ,
251
251
)
252
252
253
+ # Test file writing
254
+ record .wrsamp ()
255
+ record_write = wfdb .rdrecord ("flacformats" , physical = False )
256
+ assert record == record_write
257
+
253
258
def test_read_flac_longduration (self ):
254
259
"""
255
260
Three signals multiplexed in a FLAC file, over 2**24 samples.
@@ -628,6 +633,10 @@ def tearDownClass(cls):
628
633
"100_3chan.hea" ,
629
634
"a103l.hea" ,
630
635
"a103l.mat" ,
636
+ "flacformats.d0" ,
637
+ "flacformats.d1" ,
638
+ "flacformats.d2" ,
639
+ "flacformats.hea" ,
631
640
"s0010_re.dat" ,
632
641
"s0010_re.hea" ,
633
642
"s0010_re.xyz" ,
You can’t perform that action at this time.
0 commit comments