diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2006-10-11 15:54:09 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2006-10-11 15:54:09 +0000 |
| commit | a77e41eee42b99282c05d268479ba5ebb11dc095 (patch) | |
| tree | d211c2e3978ba6ed6c91b8b430a85d59d50079f9 /src/tests/md5test | |
| parent | 745875139b5ee46e469927d410364bfeeedb2995 (diff) | |
| download | libbu++-a77e41eee42b99282c05d268479ba5ebb11dc095.tar.gz libbu++-a77e41eee42b99282c05d268479ba5ebb11dc095.tar.bz2 libbu++-a77e41eee42b99282c05d268479ba5ebb11dc095.tar.xz libbu++-a77e41eee42b99282c05d268479ba5ebb11dc095.zip | |
Rearranged the tests, now it's like the old style, which I like more for some
reason.
Diffstat (limited to 'src/tests/md5test')
| -rw-r--r-- | src/tests/md5test/md5test.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/tests/md5test/md5test.cpp b/src/tests/md5test/md5test.cpp deleted file mode 100644 index 6f832df..0000000 --- a/src/tests/md5test/md5test.cpp +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | #include <stdio.h> | ||
| 2 | #include <string.h> | ||
| 3 | #include "md5.h" | ||
| 4 | |||
| 5 | int main() | ||
| 6 | { | ||
| 7 | md5 mproc; | ||
| 8 | md5sum sum; | ||
| 9 | char hexstr[33]; | ||
| 10 | |||
| 11 | memset( hexstr, 0, 33 ); | ||
| 12 | |||
| 13 | mproc.sumString( &sum, "qwertyuiopasdfgh" ); | ||
| 14 | mproc.sumToHex( &sum, hexstr ); | ||
| 15 | printf("sum: %s\n", hexstr ); | ||
| 16 | printf("chk: 1ebfc043d8880b758b13ddc8aa1638ef\n"); | ||
| 17 | |||
| 18 | return 0; | ||
| 19 | } | ||
