summaryrefslogtreecommitdiff
path: root/other/Kermit/test/test_stoi.cpp
blob: 4441e49e0fbb6e600aa8effd63e31d0fcf5cfa77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>
#include <string>
#include <stoi16.hpp>

main ()
{
cout << stoi16 (string ("0")) << endl;
cout << stoi16 (string ("1")) << endl;
cout << stoi16 (string ("2")) << endl;
cout << stoi16 (string ("f")) << endl;
cout << stoi16 (string ("00")) << endl;
cout << stoi16 (string ("ff")) << endl;
cout << stoi16 (string ("41")) << endl;
cout << stoi16 (string ("73")) << endl;
cout << stoi16 (string ("50")) << endl;

}