summaryrefslogtreecommitdiff
path: root/libprint/tests/basics/driver.cxx
blob: e4439f3bda291e882db599d630096c29238e267a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <cassert>
#include <sstream>

#include <libprint/version.hxx>
#include <libprint/print.hxx>

int main ()
{
  using namespace std;
  using namespace print;

  ostringstream o;
  print_hello (o, "Hello, World!");
  assert (o.str () == "Hello, World!\n");
}