def test_scasm_file
dskname=File.dirname(__FILE__)+"//AAL_1.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")
asm_file=dsk.files["MORSE CODE"]
assert(asm_file!=nil,"#{dskname} should have a file called MORSE CODE")
assert(asm_file.instance_of?(SCAsmFile),"MORSE CODE should be an SCasm file")
assert(!asm_file.can_be_picture?,"MORSE CODE should NOT be viewable as a picture")
assert(asm_file.to_s.length>0,"MORSE CODE should have non-zero length")
assert(!(asm_file.to_s=~/930\W*.LIST OFF/).nil?,"MORSE CODE should start '930 .LIST OFF'")
end