You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.cpp 431B

1234567891011121314151617
  1. #include <QApplication>
  2. #include <QtTest/QtTest>
  3. #include "testvector3d.h"
  4. #include "testmatrix3x3.h"
  5. int main(int argc, char *argv[])
  6. {
  7. QApplication app(argc, argv);
  8. app.setAttribute(Qt::AA_Use96Dpi, true);
  9. QTEST_DISABLE_KEYPAD_NAVIGATION;
  10. TestVector3D tv3d;
  11. int rtv3d = QTest::qExec(&tv3d, argc, argv);
  12. TestMatrix3x3 tm33;
  13. int rtm33 = QTest::qExec(&tm33, argc, argv);
  14. return !rtv3d && !rtm33;
  15. }