コード例 #1
0
 def test_blast_dot(self):
     """
     Test that setting the lineage name gives the blast cell.
     """
     c = Cell(name="peas")
     c.lineageName("ab.tahsuetoahusenoatu")
     self.assertEqual(c.blast(), "ab")
コード例 #2
0
 def test_blast_space(self):
     """
     Test that setting the lineage name gives the blast cell.
     """
     c = Cell(name="carrots")
     c.lineageName("a tahsuetoahusenoatu")
     self.assertEqual(c.blast(), "a")