test motif editor pointers
authorDiane Trout <diane@caltech.edu>
Mon, 2 Apr 2007 22:29:50 +0000 (22:29 +0000)
committerDiane Trout <diane@caltech.edu>
Mon, 2 Apr 2007 22:29:50 +0000 (22:29 +0000)
just make sure we have the right shared pointers in our editor

qui/motif_editor/test/TestMotifEditor.hpp

index 1e29ccca564eb14217dbd9ee9f1a84dcad54e485..273473a2e53fc229aae914afed500635fc503a88 100644 (file)
@@ -60,6 +60,10 @@ private slots:
     QVERIFY(sequences2[0]->motifs().size() == 1);
     QVERIFY(sequences2[1]->motifs().size() == 0);
     QVERIFY(cm->lookup("motif", "AAGG") == Color(0.0, 1.0, 0.0));
+    
+    QVERIFY(editor->get_analysis() == m);
+    QVERIFY(editor->get_model() == model);
+    QVERIFY(m->colorMapper() == cm);
   }
 /*