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):
219219 "Mismatch in %s" % name ,
220220 )
221221
222- def test_read_flac (self ):
222+ def test_read_write_flac (self ):
223223 """
224224 All FLAC formats, multiple signal files in one record.
225225
@@ -250,6 +250,11 @@ def test_read_flac(self):
250250 f"Mismatch in { name } " ,
251251 )
252252
253+ # Test file writing
254+ record .wrsamp ()
255+ record_write = wfdb .rdrecord ("flacformats" , physical = False )
256+ assert record == record_write
257+
253258 def test_read_flac_longduration (self ):
254259 """
255260 Three signals multiplexed in a FLAC file, over 2**24 samples.
@@ -628,6 +633,10 @@ def tearDownClass(cls):
628633 "100_3chan.hea" ,
629634 "a103l.hea" ,
630635 "a103l.mat" ,
636+ "flacformats.d0" ,
637+ "flacformats.d1" ,
638+ "flacformats.d2" ,
639+ "flacformats.hea" ,
631640 "s0010_re.dat" ,
632641 "s0010_re.hea" ,
633642 "s0010_re.xyz" ,
You can’t perform that action at this time.
0 commit comments