22 using std::ostringstream;
60 cout <<
"INFO : Cube rotated by QR" <<
q.rotateRandom() << std::endl;
64 QCOMPARE(vs.
count(),4);
76 cout <<
"INFO : Cube rotated by QR" <<
q.rotateRandom() << std::endl;
79 QCOMPARE(vs2.
count(),4);
81 QCOMPARE(fv.size(), 4u);
82 QList<QhullVertex> fv2= vs2.toQList();
83 QCOMPARE(fv2.size(), 4);
85 QCOMPARE(fv3.size(), 4u);
86 QList<QhullVertex> fv4= vs2.toQList();
87 QCOMPARE(fv4.size(), 4);
97 QCOMPARE(vs.
count(), 4);
98 QCOMPARE(vs.
count(), 4);
111 cout <<
"INFO : Cube rotated by QR" <<
q.rotateRandom() << std::endl;
116 QCOMPARE(*(vs.
end()-1), vs.
last());
125 cout <<
"INFO : Cube rotated by QR" <<
q.rotateRandom() << std::endl;
128 os << vs.
print(
"Vertices of first facet with point 0");
131 QString vertices= QString::fromStdString(os.str());
132 QCOMPARE(vertices.count(QRegExp(
" v[0-9]")), 4);
137 QList<QhullVertex> QhullVertexSet::
141 QList<QhullVertex> vs;
148 #endif //QHULL_USES_QT
152 #include "moc/QhullVertexSet_test.moc"