Commit cd592e80 authored by Davis King's avatar Davis King

added some more tests

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402980
parent 530c9371
......@@ -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));
}
}
......
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