implement methods in TempoMap for walking a given distance along a tempo map and...
[ardour.git] / libs / taglib / tests / test_id3v1.cpp
1 #include <cppunit/extensions/HelperMacros.h>
2 #include <string>
3 #include <stdio.h>
4 #include <id3v1tag.h>
5
6 using namespace std;
7 using namespace TagLib;
8
9 class TestID3v1 : public CppUnit::TestFixture
10 {
11   CPPUNIT_TEST_SUITE(TestID3v1);
12   CPPUNIT_TEST(testStripWhiteSpace);
13   CPPUNIT_TEST_SUITE_END();
14
15 public:
16
17   void testStripWhiteSpace()
18   {
19     ID3v1::StringHandler h;
20     CPPUNIT_ASSERT_EQUAL(String("Foo"), h.parse(ByteVector("Foo                ")));
21   }
22
23 };
24
25 CPPUNIT_TEST_SUITE_REGISTRATION(TestID3v1);