summaryrefslogtreecommitdiff
path: root/libhello/tests/test
diff options
context:
space:
mode:
Diffstat (limited to 'libhello/tests/test')
-rw-r--r--libhello/tests/test/driver.cxx5
-rw-r--r--libhello/tests/test/test.out2
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!