Commit 684a1764 authored by Davis King's avatar Davis King

Made test more robust

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%404102
parent 00509244
......@@ -450,10 +450,10 @@ namespace
di = 1, 1/2.0, 1/3.0;
DLIB_TEST(inv(diagm(d)) == diagm(di));
DLIB_TEST(inv(diagm(d)) == diagm(di));
DLIB_TEST(inv(diagm(d))*m == tmp(diagm(di))*m);
DLIB_TEST(m*inv(diagm(d)) == m*tmp(diagm(di)));
DLIB_TEST(equal(inv(diagm(d)) , diagm(di)));
DLIB_TEST(equal(inv(diagm(d)) , diagm(di)));
DLIB_TEST(equal(inv(diagm(d))*m , tmp(diagm(di))*m));
DLIB_TEST(equal(m*inv(diagm(d)) , m*tmp(diagm(di))));
DLIB_TEST(equal(inv(diagm(d)) + m , tmp(diagm(di)) + m));
DLIB_TEST(equal(m + inv(diagm(d)) , tmp(diagm(di)) + m));
......
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