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

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

#undef NDEBUG
#include <cassert>

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

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