Commit 55631944 authored by Davis King's avatar Davis King

Added a few more BLAS binding tests

parent a7d236c0
...@@ -146,10 +146,18 @@ namespace ...@@ -146,10 +146,18 @@ namespace
val = dot(rv,cv); val = dot(rv,cv);
DLIB_TEST(counter_dot() == 1); DLIB_TEST(counter_dot() == 1);
counter_dot() = 0;
val = dot(rv,colm(cv,0));
DLIB_TEST(counter_dot() == 1);
counter_dot() = 0; counter_dot() = 0;
val = dot(cv,cv); val = dot(cv,cv);
DLIB_TEST(counter_dot() == 1); 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; counter_dot() = 0;
val = dot(rv,rv); val = dot(rv,rv);
DLIB_TEST(counter_dot() == 1); DLIB_TEST(counter_dot() == 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment