示例#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);
  }