diff options
Diffstat (limited to 'other/Kermit/test/test_itos.cpp')
| -rw-r--r-- | other/Kermit/test/test_itos.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/other/Kermit/test/test_itos.cpp b/other/Kermit/test/test_itos.cpp new file mode 100644 index 0000000..35c335c --- /dev/null +++ b/other/Kermit/test/test_itos.cpp | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #include <itos16.hpp> | ||
| 2 | #include <iostream> | ||
| 3 | |||
| 4 | |||
| 5 | int main () | ||
| 6 | { | ||
| 7 | cout << itos16 (0x31337) << endl; | ||
| 8 | cout << itos16 (0x7) << endl; | ||
| 9 | cout << itos16 (0x1) << endl; | ||
| 10 | cout << itos16 (0x131337) << endl; | ||
| 11 | cout << itos16 (0x1131337) << endl; | ||
| 12 | cout << itos16 (0x81131337) << endl; | ||
| 13 | |||
| 14 | return 0; | ||
| 15 | } | ||
