Added a few more BLAS binding tests

This commit is contained in:
Davis King 2014-02-20 19:59:34 -05:00
parent a7d236c04e
commit 5563194476
1 changed files with 8 additions and 0 deletions

View File

@ -146,10 +146,18 @@ namespace
val = dot(rv,cv);
DLIB_TEST(counter_dot() == 1);
counter_dot() = 0;
val = dot(rv,colm(cv,0));
DLIB_TEST(counter_dot() == 1);
counter_dot() = 0;
val = dot(cv,cv);
DLIB_TEST(counter_dot() == 1);
counter_dot() = 0;
val = dot(colm(cv,0,cv.size()),colm(cv,0));
DLIB_TEST(counter_dot() == 1);
counter_dot() = 0;
val = dot(rv,rv);
DLIB_TEST(counter_dot() == 1);