-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace link test using Random instead of Color
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
// Use something defined not in headers but in the CGAL library to test that is was indeed properly built and linked to, | ||
|
||
#include <CGAL/IO/Color.h> | ||
#include <CGAL/Random.h> | ||
|
||
int main() | ||
{ | ||
volatile const CGAL::Color* c = &CGAL::BLACK; | ||
|
||
return (c != 0) ? 0 : 1; | ||
volatile const CGAL::Random* r = &CGAL::get_default_random(); | ||
return int(r != 0); | ||
} |