def test_frame_add_residue(self): residue = Residue() frame = Frame() frame.add_residue(residue) self.assertEqual(residue, frame.residues[0]) self.assertTrue(residue is frame.residues[0])
def test_frame_add_residue(self): frame = Frame() residue = frame.add_residue("TEST_RESIDUE") self.assertTrue(residue is frame.residue(0))
def test_frame_add_residue(self): residue = Residue() frame = Frame() frame.add_residue(residue) self.assertEqual(residue, frame.residues[0]) self.assertTrue(residue is frame.residues[0])