add Unit Test chapter to README
@@ -75,3 +75,27 @@ Results !
Currentlly pre/post-process functions are NOT correctly implemented.
The value of Results! 0.100382, 0.0998879 will be changed after correct implementation.
+
+
+# Unit tests
+
+```
+$ cd build
+$ DLK_LIB_DIR=`pwd`/../examples/dlk_lib/ cmake -DBUILD_SHARED_LIBS=ON ../
+$ make
+$ make test
+Running tests...
+Test project /home/yoya/git/yoya/blueoil/runtime/build
+ Start 1: blueoil-test-tensor
+1/4 Test #1: blueoil-test-tensor .............. Passed 0.00 sec
+ Start 2: blueoil-test-image
+2/4 Test #2: blueoil-test-image ............... Passed 0.00 sec
+ Start 3: blueoil-test-opencv
+3/4 Test #3: blueoil-test-opencv .............. Passed 0.04 sec
+ Start 4: blueoil-test-resize
+4/4 Test #4: blueoil-test-resize .............. Passed 0.04 sec
+
+100% tests passed, 0 tests failed out of 4
+
+Total Test time (real) = 0.08 sec
+```
