Qualify divides by CGAL:: otherwise pgcc is confused with std::divides.

This commit is contained in:
Sylvain Pion 2007-03-18 13:26:10 +00:00
parent cc14095b22
commit d3d2f3caf7
1 changed files with 5 additions and 5 deletions

View File

@ -53,14 +53,14 @@ void test_integral_division()
//std::cout << "n = " << n << std::endl;
assert( integral_division(nd, n) == d);
assert( integral_division(nd, d) == n);
assert( divides(nd, n) );
assert( divides(nd, d) );
assert( CGAL::divides(nd, n) );
assert( CGAL::divides(nd, d) );
}
assert( ! divides(MPF(1), MPF(3)) );
assert( ! divides(MPF(2), MPF(7)) );
assert( ! CGAL::divides(MPF(1), MPF(3)) );
assert( ! CGAL::divides(MPF(2), MPF(7)) );
// test if we're lucky :)
assert( ! divides(MPF(CGAL::default_random.get_double()), MPF(CGAL::default_random.get_double())) );
assert( ! CGAL::divides(MPF(CGAL::default_random.get_double()), MPF(CGAL::default_random.get_double())) );
}
void test_equality(int i)