]> git.donarmstrong.com Git - lilypond.git/blob - flower/test-string.cc
Web-ja: update introduction
[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
10 FUNC (string_split_join)
11 {
12   string orig = "a/bbbb/cc//d";
13   vector<string> splits = string_split (orig, '/');
14   string loop = string_join (splits, "/");
15   EQUAL (orig, loop);
16   EQUAL (splits.size (), size_t (5));
17 }