summaryrefslogtreecommitdiff
path: root/src/cppunit/StringTools.cpp
blob: 9bfb9395e5144d5b03cd19fad1b0ca4f69012cab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <cppunit/tools/StringTools.h>


namespace CppUnit
{

namespace StringTools
{

  std::string toString( int value )
  {
    OStringStream stream;
    stream << value;
    return stream.str();
  }

  std::string toString( double value )
  {
    OStringStream stream;
    stream << value;
    return stream.str();
  }


} // namespace StringTools


} //  namespace CppUnit