-#include <QtGui>
-#include <QtTest/QtTest>
+#include "TestColorSharing.hpp"
-#include "alg/mussa.hpp"
-#include "alg/color.hpp"
-#include "qui/MussaWindow.hpp"
-
-//! do our colors get shared correctly between different windows?
-class TestColorSharing : public QObject
-{
- Q_OBJECT
-
-private slots:
-
- void simple2sequence() {
- Color green(0.0, 1.0, 0.0);
- Mussa m;
- m.append_sequence("AAGGCCTT");
- m.append_sequence("GGTTCCAA");
- m.set_window(2);
- m.set_threshold(2);
- m.analyze();
-
- //MussaWindow mw(&m);
- m.add_motif("GG", green);
- }
-};
-
-QTEST_MAIN(TestColorSharing)
-#include "moc_TestColorSharing.cxx"
+QTEST_APPLESS_MAIN(TestColorSharing)