]> git.donarmstrong.com Git - lilypond.git/blob - flower/test-string.cc
Issue 4550 (2/2) Avoid "using namespace std;" in included files
[lilypond.git] / flower / test-string.cc
1 #define HAVE_BOOST_LAMBDA 1
2 #include "std-vector.hh"
3
4 #include <iostream>
5
6 #include "yaffut.hh"
7
8 using std::string;
9 using std::vector;
10
11 FUNC (string_split_join)
12 {
13   string orig = "a/bbbb/cc//d";
14   vector<string> splits = string_split (orig, '/');
15   string loop = string_join (splits, "/");
16   EQUAL (orig, loop);
17   EQUAL (splits.size (), size_t (5));
18 }