aboutsummaryrefslogtreecommitdiffstats
path: root/unittest.cpp
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-04-15 00:31:51 +0900
committeripknHama <ipknhama@gmail.com>2014-04-15 00:31:51 +0900
commit53debf7e2cb494d8ea89205812bf792e8e9354da (patch)
treec0195ecc0673b794087c99908a2314dfc8a0ff31 /unittest.cpp
parent7ec586556e348725bff3919f4787a75d71c520fa (diff)
downloadcrow-53debf7e2cb494d8ea89205812bf792e8e9354da.tar.gz
crow-53debf7e2cb494d8ea89205812bf792e8e9354da.zip
parameter passing done for int
Diffstat (limited to 'unittest.cpp')
-rw-r--r--unittest.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/unittest.cpp b/unittest.cpp
index 09718c2..eaf4466 100644
--- a/unittest.cpp
+++ b/unittest.cpp
@@ -1,6 +1,10 @@
-#include "routing.h"
-#include <functional>
+#include <iostream>
+using namespace std;
int main()
{
+ //cout << strtol("+123999999999999999999", NULL, 10) <<endl;
+ //cout <<errno <<endl;
+ cout << strtol("+9223372036854775807", NULL, 10) <<endl;
+ cout <<errno <<endl;
}