Fix ordering of property ops in display method for \with.
[lilypond/mpolesky.git] / flower / test-string.cc
blob509aea072893c4a982fa30625c5ba81c6ee48efe
1 #define STD_VECTOR 1
3 #define HAVE_BOOST_LAMBDA 1
4 #include "std-vector.hh"
6 #include <iostream>
8 #include "yaffut.hh"
10 #if !STD_VECTOR
11 #define vector flower_vector
12 #endif
14 using namespace std;
17 FUNC (string_split_join)
19 string orig = "a/bbbb/cc//d";
20 vector<string> splits = string_split (orig, '/');
21 string loop = string_join (splits, "/");
22 EQUAL(orig, loop);
23 EQUAL(splits.size (), size_t (5));