mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
added some more tests
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402980
This commit is contained in:
parent
530c93711b
commit
cd592e804b
@ -283,6 +283,11 @@ namespace
|
||||
|
||||
DLIB_TEST(rotate_point(center, p1, pi/4) == point(8,8));
|
||||
DLIB_TEST(rotate_point(center, p1, -pi/4) == point(8,-2));
|
||||
|
||||
DLIB_TEST(rotate_point(center, p1, pi/4 + 10*pi) == point(8,8));
|
||||
DLIB_TEST(rotate_point(center, p1, -pi/4 + 10*pi) == point(8,-2));
|
||||
DLIB_TEST(rotate_point(center, p1, pi/4 - 10*pi) == point(8,8));
|
||||
DLIB_TEST(rotate_point(center, p1, -pi/4 - 10*pi) == point(8,-2));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user