added some more tests

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402980
This commit is contained in:
Davis King 2009-04-04 14:44:35 +00:00
parent 530c93711b
commit cd592e804b

View File

@ -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));
}
}