def testIsEmptyError(self): dna = [] size = len(dna) with self.assertRaises(Exception, msg="INVALID_DNA"): Validator.isEmpty(size)
def testIsEmpty(self): dna = ["CTGAGA", "CTAACC", "TCACGT", "ATACTT", "CCTTGT", "TCTTTT"] size = len(dna) self.assertTrue(Validator.isEmpty(size))