def test_degen_sz(self):
        seq_record = SeqRecordExpanded(self.seq, reading_frame=1)
        expected = 'NNNGARTGGAARACNAARMGNCCN'
        self.assertEqual(expected, seq_record.degenerate(method='SZ'), 'Using reading_frame=1')

        seq_record = SeqRecordExpanded(self.seq, reading_frame=3)
        expected = 'TGAATGGARGAYAARGCNNNNA'
        self.assertEqual(expected, seq_record.degenerate(method='SZ'), 'Using reading_frame=3')
    def test_degen_standard(self):
        seq_record = SeqRecordExpanded(self.seq, reading_frame=1, table=1)
        expected = 'TCNGARTGGAARACNAARMGNCCN'
        self.assertEqual(expected, seq_record.degenerate(), 'Using reading_frame=1')

        seq_record = SeqRecordExpanded(self.seq, reading_frame=2, table=1)
        expected = 'YTNAAYGGNMGNCARAGYGTNCA'
        self.assertEqual(expected, seq_record.degenerate(), 'Using reading_frame=2')
 def test_degen_z(self):
     seq_record = SeqRecordExpanded(self.seq, reading_frame=1)
     expected = 'TCNGARTGGAARACNAARMGNCCN'
     self.assertEqual(expected, seq_record.degenerate(method='Z'))