summaryrefslogtreecommitdiff
path: root/libformat/tests/test
diff options
context:
space:
mode:
Diffstat (limited to 'libformat/tests/test')
-rw-r--r--libformat/tests/test/driver.cxx5
-rw-r--r--libformat/tests/test/test.out2
2 files changed, 6 insertions, 1 deletions
diff --git a/libformat/tests/test/driver.cxx b/libformat/tests/test/driver.cxx
index fb2939d..1cf2959 100644
--- a/libformat/tests/test/driver.cxx
+++ b/libformat/tests/test/driver.cxx
@@ -8,6 +8,9 @@ int
main ()
{
using namespace std;
+ using namespace format;
- cout << format ("Hello", "World") << endl;
+ cout << message ("Hello", "World", volume::quiet) << endl;
+ cout << message ("Hello", "World", volume::normal) << endl;
+ cout << message ("Hello", "World", volume::loud) << endl;
}
diff --git a/libformat/tests/test/test.out b/libformat/tests/test/test.out
index 8ab686e..7ce133b 100644
--- a/libformat/tests/test/test.out
+++ b/libformat/tests/test/test.out
@@ -1 +1,3 @@
+hello, World!
Hello, World!
+HELLO, World!