Sha256: 6c4b9278e94642d4eccc6b83f9ba649bf39f39241c3cc82f8ce387d248cc7baf
Contents?: true
Size: 794 Bytes
Versions: 4
Compression:
Stored size: 794 Bytes
Contents
if(File::exists?("../ext/rb_cdio.so")) require "../ext/rb_cdio" else require 'rubygems' require_gem "rb_cdio",">=0.2" end require 'test/unit' class Testbincue < Test::Unit::TestCase def setup @data = File.dirname(__FILE__)+"/data" end # def teardown # end def test_good_cues %w{cdda.cue isofs-m1.cue}.each {|cue| cue=@data+"/"+cue assert(CdIo.is_cuefile(cue),"Incorrect: "+cue+" doesn't parse as a CDRWin CUE file") } end def test_bad_cues ["bad-cat1.cue", "bad-cat2.cue", "bad-cat3.cue", "bad-mode1.cue", "bad-msf-1.cue", "bad-msf-2.cue", "bad-msf-3.cue"].each do |cue| cue=@data+"/"+cue assert(!CdIo.is_cuefile(cue),"Incorrect: "+cue+" parses as a CDRWin CUE file."); end end end
Version data entries
4 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rb_cdio-0.2.0 | test/testbincue.rb |
rb_cdio-0.2.1 | ./test/test_bincue.rb |
rb_cdio-0.2.1 | test/test_bincue.rb |
rb_cdio-0.2.0 | ./test/testbincue.rb |