diff --git a/Old_Packages/CLN/examples/CLN/example_cl_I.C b/Old_Packages/CLN/examples/CLN/example_cl_I.C new file mode 100644 index 00000000000..0b406a94d03 --- /dev/null +++ b/Old_Packages/CLN/examples/CLN/example_cl_I.C @@ -0,0 +1,23 @@ + +#ifndef CGAL_USE_CLN +# error You need to have CLN installed in order to run this example +#endif + +#include +#include + +#include + +#include +#include + +int +main () +{ + cl_I b = "31"; + cl_I p = b * 75; + bool ok = (p==2325) && (CGAL::compare(p,cl_I(31*75))==CGAL::EQUAL); + std::cout << (ok ? "ok" : "ERROR") << std::endl; + std::cout << p << " == " << 31*75 << endl; + return (ok) ? 0 : -1; +}