- With the addition of that new function Random::Random(char*), the ABI changes, but in a compatible way -> bump the minor version of SOVERSION. The SONAME remains unchanged. - Add tests for `Random` with and without `CGAL_TEST_SUITE`. That will make a difference only with header-only, because at the time the tests are compiled, libCGAL is already compiled.
15 lines
215 B
C++
15 lines
215 B
C++
#ifdef CGAL_TEST_SUITE
|
|
# undef CGAL_TEST_SUITE
|
|
#endif
|
|
|
|
#include <CGAL/Random.h>
|
|
|
|
int main()
|
|
{
|
|
int u = CGAL::get_default_random().get_int( 0, 1000);
|
|
if(u >= 0 || u <= 1000)
|
|
return 0;
|
|
else
|
|
return 1;
|
|
}
|