mirror of https://github.com/CGAL/cgal
Runs of Mesh_2 and Mesh_3 tests
This commit is contained in:
parent
af1a69e193
commit
91ca5a8add
|
|
@ -70,7 +70,7 @@ int main(int argc, char** argv)
|
||||||
std::cerr << "Assignment f2=f...\n";
|
std::cerr << "Assignment f2=f...\n";
|
||||||
f2 = f; // check the assignment
|
f2 = f; // check the assignment
|
||||||
std::cerr << "Auto-assignment f=f...\n";
|
std::cerr << "Auto-assignment f=f...\n";
|
||||||
f2 = (Map&)f2; // check the auto-assignment
|
f2 = const_cast<Map&>(f2); // check the auto-assignment
|
||||||
std::cerr << "Copy-construction...\n";
|
std::cerr << "Copy-construction...\n";
|
||||||
Map f3(f); // check the copy constructor
|
Map f3(f); // check the copy constructor
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -86,9 +86,9 @@ public:
|
||||||
//! perform the output, calls \c operator\<\< by default.
|
//! perform the output, calls \c operator\<\< by default.
|
||||||
std::ostream& operator()( std::ostream& out) const {
|
std::ostream& operator()( std::ostream& out) const {
|
||||||
if(IO::is_ascii(out)) {
|
if(IO::is_ascii(out)) {
|
||||||
out << (int)t;
|
out << static_cast<int>(t);
|
||||||
} else {
|
} else {
|
||||||
CGAL::write(out, (int)t);
|
CGAL::write(out, static_cast<int>(t));
|
||||||
}
|
}
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
@ -109,7 +109,7 @@ public:
|
||||||
} else {
|
} else {
|
||||||
CGAL::read(in, i);
|
CGAL::read(in, i);
|
||||||
}
|
}
|
||||||
t = (T)i;
|
t = static_cast<T>(i);
|
||||||
return in;
|
return in;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue