From bffe85ae4c01f126c47ab7ea7b220b91d7c65dac Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2017 08:52:55 +0200 Subject: Make slightly more interesting --- libhello/tests/test/driver.cxx | 5 ++++- libhello/tests/test/test.out | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'libhello/tests') diff --git a/libhello/tests/test/driver.cxx b/libhello/tests/test/driver.cxx index 38937f0..1c08bca 100644 --- a/libhello/tests/test/driver.cxx +++ b/libhello/tests/test/driver.cxx @@ -1,11 +1,14 @@ // file: tests/test/driver.cxx -*- C++ -*- #include +#include // volume int main () { - using hello::say; + using namespace hello; say ("World"); + say ("World", format::volume::loud); + say_formatted ("Hi, World!"); } diff --git a/libhello/tests/test/test.out b/libhello/tests/test/test.out index 8ab686e..a9ec19f 100644 --- a/libhello/tests/test/test.out +++ b/libhello/tests/test/test.out @@ -1 +1,3 @@ Hello, World! +HELLO, World! +Hi, World! -- cgit v1.1