def test_cmpSeqToString(self): """Sequence should compare equal to same string.""" f = Flowgram('0.5 1.0 4.0 0.0', Name = 'a',floworder = "TACG", header_info = {'Bases':'TACCCC'}) self.assertTrue(f.cmpSeqToString('TACCCC')) self.assertFalse(f.cmpSeqToString('TACCC')) f = Flowgram('0.5 1.0 4.0 0.0',floworder = "TACG") self.assertTrue(f.cmpSeqToString('TACCCC')) self.assertFalse(f.cmpSeqToString('TACCC'))
def test_cmpSeqToString(self): """Sequence should compare equal to same string.""" f = Flowgram('0.5 1.0 4.0 0.0', Name='a', floworder="TACG", header_info={'Bases': 'TACCCC'}) self.assertTrue(f.cmpSeqToString('TACCCC')) self.assertFalse(f.cmpSeqToString('TACCC')) f = Flowgram('0.5 1.0 4.0 0.0', floworder="TACG") self.assertTrue(f.cmpSeqToString('TACCCC')) self.assertFalse(f.cmpSeqToString('TACCC'))