Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
test
Utilities
remove_whitespace_t.cc
Go to the documentation of this file.
1
#define BOOST_TEST_MODULE (parse_path_spec_t)
2
#include "boost/test/unit_test.hpp"
3
4
#include "
art/Utilities/detail/remove_whitespace.h
"
5
6
#include <string>
7
8
BOOST_AUTO_TEST_SUITE(parse_path_spec_t)
9
10
BOOST_AUTO_TEST_CASE
(remove_whitespace_t)
11
{
12
std::string
a
(
"noblanks"
);
13
std::string
b
(
"\t no blanks \t"
);
14
15
art::detail::remove_whitespace
(b);
16
BOOST_TEST(a == b);
17
}
18
19
BOOST_AUTO_TEST_SUITE_END()
string
std::string string
Definition:
nybbler.cc:12
BOOST_AUTO_TEST_CASE
BOOST_AUTO_TEST_CASE(remove_whitespace_t)
Definition:
remove_whitespace_t.cc:10
remove_whitespace.h
a
const double a
Definition:
gUpMuFluxGen.cxx:164
art::detail::remove_whitespace
void remove_whitespace(std::string &str)
Definition:
remove_whitespace.cc:11
b
static bool * b
Definition:
config.cpp:1043
Generated by
1.8.11