summaryrefslogtreecommitdiff
path: root/libprint/tests/basics/driver.cxx
blob: 82527859a89a2ae38d4ba0fccce1c2a2d6bde791 (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>

using namespace std;
using namespace print;

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