consolidate semaphore implementation (part one)
[ardour.git] / libs / pbd / test / convert_test.cc
1 #include "convert_test.h"
2 #include "pbd/convert.h"
3
4 CPPUNIT_TEST_SUITE_REGISTRATION (ConvertTest);
5
6 using namespace std;
7
8 void
9 ConvertTest::testUrlDecode ()
10 {
11         string const url = "http://foo.bar.baz/A%20B%20C%20+42.html";
12         CPPUNIT_ASSERT_EQUAL (PBD::url_decode (url), string ("http://foo.bar.baz/A B C  42.html"));
13 }