]> git.donarmstrong.com Git - lilypond.git/blob - flower/test-string.cc
Issue 4550 (1/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 namespace std;
9 using std::string;
10 using std::vector;
11
12 FUNC (string_split_join)
13 {
14   string orig = "a/bbbb/cc//d";
15   vector<string> splits = string_split (orig, '/');
16   string loop = string_join (splits, "/");
17   EQUAL (orig, loop);
18   EQUAL (splits.size (), size_t (5));
19 }