mirror of https://github.com/davisking/dlib.git
Relaxed tests slightly to avoid false alarms.
This commit is contained in:
parent
688471ffe7
commit
103b464923
|
@ -682,8 +682,8 @@ namespace
|
|||
dlib::vector<double,2> p = randm(2,1,rnd)*1000;
|
||||
from_points.push_back(p);
|
||||
to_points.push_back(tran(p) + (randm(2,1,rnd)-0.5)*error_rate);
|
||||
DLIB_TEST(length(traninv(tran(p))-p) <= 1e-6);
|
||||
DLIB_TEST(length(tran(traninv(p))-p) <= 1e-6);
|
||||
DLIB_TEST(length(traninv(tran(p))-p) <= 1e-5);
|
||||
DLIB_TEST(length(tran(traninv(p))-p) <= 1e-5);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue