mirror of https://github.com/CGAL/cgal
fixed tests
This commit is contained in:
parent
1921a928ca
commit
8366c4896c
|
|
@ -31,7 +31,6 @@ using std::endl;
|
|||
int main(void) {
|
||||
|
||||
Triangulation tr;
|
||||
tr.insert_dummy_points();
|
||||
|
||||
cout << "Triangulation successfully initialized with dummy points!" << endl << "---------------------------------------------" << endl;
|
||||
cout << "Number of vertices: " << tr.number_of_vertices() << endl;
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@ int main(int argc, char** argv) {
|
|||
|
||||
cout << "iteration " << exec << ": inserting into hyperbolic periodic triangulation... "; cout.flush();
|
||||
Triangulation tr;
|
||||
tr.insert_dummy_points(true);
|
||||
CGAL::Timer t1;
|
||||
t1.start();
|
||||
tr.insert(pts.begin(), pts.end());
|
||||
|
|
|
|||
|
|
@ -97,7 +97,6 @@ int main(int argc, char** argv) {
|
|||
|
||||
cout << "iteration " << exec << ": inserting into triangulation (rational dummy points)... "; cout.flush();
|
||||
Triangulation tr;
|
||||
tr.insert_dummy_points(true);
|
||||
|
||||
CGAL::Timer tt;
|
||||
tt.start();
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ using std::endl;
|
|||
int main(void) {
|
||||
|
||||
Triangulation tr;
|
||||
tr.insert_dummy_points(true);
|
||||
|
||||
assert(tr.is_valid());
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ int main(int argc, char** argv) {
|
|||
int N = atoi(argv[1]);
|
||||
|
||||
Triangulation tr;
|
||||
tr.insert_dummy_points();
|
||||
|
||||
cout << "Triangulation successfully initialized with dummy points!" << endl << "---------------------------------------------" << endl;
|
||||
cout << "Number of vertices: " << tr.number_of_vertices() << endl;
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ int main(int argc, char** argv) {
|
|||
Hyperbolic_random_points_in_disc_2_double(v, N, -1, 0.159);
|
||||
|
||||
Triangulation tr;
|
||||
tr.insert_dummy_points(true);
|
||||
assert(tr.is_valid(true));
|
||||
|
||||
int cnt = 0;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ int main(void) {
|
|||
typedef CGAL::Periodic_4_hyperbolic_Delaunay_triangulation_2<Traits> Triangulation;
|
||||
|
||||
Triangulation tr;
|
||||
tr.insert_dummy_points(false);
|
||||
CGAL_assertion(tr.is_valid());
|
||||
|
||||
cout << "triangulation works!" <<
|
||||
|
|
|
|||
|
|
@ -18,16 +18,16 @@ int main(void) {
|
|||
typedef Hyperbolic_octagon_translation<NT> Word;
|
||||
|
||||
Word w;
|
||||
cout << "empty word: " << w << ", matrix: " << w.matrix() << endl;
|
||||
// cout << "empty word: " << w << ", matrix: " << w.matrix() << endl;
|
||||
|
||||
Word a(0), ab(0, 5), abc(0, 5, 2), abcd(0, 5, 2, 7), dcb(7, 2, 5), dc(7, 2), d(7);
|
||||
cout << "a = " << a << ", matrix: " << a.matrix() << endl;
|
||||
cout << "ab = " << ab << ", matrix: " << ab.matrix() << endl;
|
||||
cout << "abc = " << abc << ", matrix: " << abc.matrix() << endl;
|
||||
cout << "abcd = " << abcd << ", matrix: " << abcd.matrix() << endl;
|
||||
cout << "dcb = " << dcb << ", matrix: " << dcb.matrix() << endl;
|
||||
cout << "dc = " << dc << ", matrix: " << dc.matrix() << endl;
|
||||
cout << "d = " << d << ", matrix: " << d.matrix() << endl;
|
||||
// cout << "a = " << a << ", matrix: " << a.matrix() << endl;
|
||||
// cout << "ab = " << ab << ", matrix: " << ab.matrix() << endl;
|
||||
// cout << "abc = " << abc << ", matrix: " << abc.matrix() << endl;
|
||||
// cout << "abcd = " << abcd << ", matrix: " << abcd.matrix() << endl;
|
||||
// cout << "dcb = " << dcb << ", matrix: " << dcb.matrix() << endl;
|
||||
// cout << "dc = " << dc << ", matrix: " << dc.matrix() << endl;
|
||||
// cout << "d = " << d << ", matrix: " << d.matrix() << endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in New Issue