diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-07-26 22:05:13 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-07-26 22:05:13 +0000 |
commit | f8a9737d62ff2a3f5c24dc3786f5b65dbd490f29 (patch) | |
tree | 469d3d65fb5ca0487e5438f9f464830ef39b0ff8 /src/test | |
parent | 76ed3c164662f4ee4c109bb2054c61c99ea86251 (diff) | |
download | libbu++-f8a9737d62ff2a3f5c24dc3786f5b65dbd490f29.tar.gz libbu++-f8a9737d62ff2a3f5c24dc3786f5b65dbd490f29.tar.bz2 libbu++-f8a9737d62ff2a3f5c24dc3786f5b65dbd490f29.tar.xz libbu++-f8a9737d62ff2a3f5c24dc3786f5b65dbd490f29.zip |
I don't remember what I added or did.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/strhash/main.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/strhash/main.cpp b/src/test/strhash/main.cpp new file mode 100644 index 0000000..790c5b6 --- /dev/null +++ b/src/test/strhash/main.cpp | |||
@@ -0,0 +1,12 @@ | |||
1 | #include <stdio.h> | ||
2 | #include "hashfunctionstring.h" | ||
3 | |||
4 | int main( int argc, char *argv[] ) | ||
5 | { | ||
6 | HashFunctionString h; | ||
7 | |||
8 | printf("\"%s\": %d\n", argv[1], h.hash( argv[1] ) ); | ||
9 | |||
10 | return 0; | ||
11 | } | ||
12 | |||