From 7bd18841542e9607e58f3ef6c1e1de06e5ee9588 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 31 Dec 2011 15:51:55 -0500 Subject: [PATCH] Fixed bugs in this test --- dlib/test/geometry.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlib/test/geometry.cpp b/dlib/test/geometry.cpp index a320e3779..0b3fae974 100644 --- a/dlib/test/geometry.cpp +++ b/dlib/test/geometry.cpp @@ -466,7 +466,7 @@ namespace const point shift(4,5); be = border_enumerator(translate_rect(get_rect(img),shift),bs); - DLIB_TEST(be.at_start() == false); + DLIB_TEST(be.at_start() == true); DLIB_TEST(be.current_element_valid() == false); while (be.move_next()) { @@ -544,6 +544,7 @@ namespace ) { geometry_test(); + test_border_enumerator(); } } a;