Commit d1d45f50 authored by Davis King's avatar Davis King

Made test more robust.

parent 50d1ff98
......@@ -1471,11 +1471,11 @@ namespace
a = 0;
set_colm(a,0) = m*b;
DLIB_TEST(colm(a,0) == m*b);
DLIB_TEST(equal(colm(a,0) , m*b));
a = 0;
set_rowm(a,0) = trans(m*b);
DLIB_TEST(rowm(a,0) == trans(m*b));
DLIB_TEST(rowm(a,0) != m*b);
DLIB_TEST(equal(rowm(a,0) , trans(m*b)));
DLIB_TEST(!equal(rowm(a,0) , m*b));
}
{
matrix<double> a(3,3);
......@@ -1484,11 +1484,11 @@ namespace
a = 0;
set_colm(a,0) = m*b;
DLIB_TEST(colm(a,0) == m*b);
DLIB_TEST(equal(colm(a,0) , m*b));
a = 0;
set_rowm(a,0) = trans(m*b);
DLIB_TEST(rowm(a,0) == trans(m*b));
DLIB_TEST(rowm(a,0) != m*b);
DLIB_TEST(equal(rowm(a,0) , trans(m*b)));
DLIB_TEST(!equal(rowm(a,0) , m*b));
}
}
......
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