blob: 03faea7bf4cc553d6827ef87963e576bdb8138f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include <cassert>
#include <libformat/version.hxx>
#include <libformat/format.hxx>
using namespace std;
using namespace format;
int main ()
{
assert (format_hello ("Hello", "World", volume::quiet) == "hello, World!");
assert (format_hello ("Hello", "World", volume::normal) == "Hello, World!");
assert (format_hello ("Hello", "World", volume::loud) == "HELLO, World!");
}
|