def test_40_track_file
dskname=File.dirname(__FILE__)+"//white_03b.dsk"
dsk=DSK.read(dskname)
assert_equal(:dos,dsk.file_system,"#{dskname} should be DOS 3.3 format")
assert(dsk.files.length>0,"#{dskname} should have at least one file")
assert_equal(40,dsk.track_count,"#{dskname} should have 40 tracks")
pic_file=dsk.files["RIP.PIC"]
assert(pic_file!=nil,"#{dskname} should have a file called RIP.PIC")
assert(pic_file.instance_of?(BinaryFile),"RIP.PIC should be a binary file")
assert(pic_file.can_be_picture?,"RIP.PIC should be viewable as a picture")
assert_equal("\211PNG\r\n\032\n",pic_file.to_png[0..7])
end