def test_Selection_range_contains_spinid2(self): """The Selection object ":1-70" does not contain the spin ':71@C'.""" # The Selection object. obj = Selection(":1-70") # Check that the residue ID is in the selection. self.assert_(not obj.contains_spin_id(':71@C'))
def test_Selection_range_contains_spinid(self): """The Selection object ":1-70" contains the spin ':1@N'.""" # The Selection object. obj = Selection(":1-70") # Check that the residue ID is in the selection. self.assert_(obj.contains_spin_id(':1@N'))