diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-20 08:52:55 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-20 08:52:55 +0200 |
commit | bffe85ae4c01f126c47ab7ea7b220b91d7c65dac (patch) | |
tree | f08c6bae79151cf0d1c36ecee46573e586490af8 /libhello/tests | |
parent | f089a1a2321e77bfb5f60c2cd79dac14eac9bf63 (diff) |
Make slightly more interesting
Diffstat (limited to 'libhello/tests')
-rw-r--r-- | libhello/tests/test/driver.cxx | 5 | ||||
-rw-r--r-- | libhello/tests/test/test.out | 2 |
2 files changed, 6 insertions, 1 deletions
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 <libhello/hello.hxx> +#include <libformat/format.hxx> // 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! |