def test_fromNumbers(self): fastqString = "~~~KKBB!!" values = [93, 93, 93, 42, 42, 33, 33, 0, 0] qvs = PacBioBam.QualityValues() for value in values: qvs.append(PacBioBam.QualityValue(value)) self.assertEqual(fastqString, qvs.Fastq())
def test_defaults(self): values = PacBioBam.QualityValues() self.assertFalse(values.Fastq())