Files
cgal/Random_numbers/test/Random_numbers/test_Random-no-CGAL_TEST_SUITE.cpp
T
Laurent Rineau 79f54a6c7c Bump the SOVERSION_MINOR
- 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.
2016-03-23 11:27:33 +01:00

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