예제 #1
0
파일: test_aiff.cpp 프로젝트: 5in4/taglib
  void testReading()
  {
    ScopedFileCopy copy("empty", ".aiff");
    string filename = copy.fileName();

    RIFF::AIFF::File *f = new RIFF::AIFF::File(filename.c_str());
    CPPUNIT_ASSERT_EQUAL(705, f->audioProperties()->bitrate());
  }
예제 #2
0
  void testReading()
  {
    string filename = copyFile("empty", ".aiff");

    RIFF::AIFF::File *f = new RIFF::AIFF::File(filename.c_str());
    CPPUNIT_ASSERT_EQUAL(689, f->audioProperties()->bitrate());

    deleteFile(filename);
  }