def t017_test(self): self.assertEqual(util.position_ntop(24, HIM), 'his bar')
def t013_test(self): self.assertEqual(util.position_ntop(0, HIM), '24')
def t015_test(self): self.assertEqual(util.position_ntop(-1, HIM), 'his home')
def t009_test(self): self.assertEqual(util.position_ntop(24, YOU), 'your bar')
def t011_test(self): self.assertEqual(util.position_ntop(23, HIM), '1')
def t006_test(self): self.assertEqual(util.position_ntop(-1, YOU), 'your home')
def t004_test(self): self.assertEqual(util.position_ntop(23, YOU), '24')
def t002_test(self): self.assertEqual(util.position_ntop(0, YOU), '1')
def t027_test(self): try: util.position_ntop(26, YOU) self.assert_(False) except ValueError: pass
def t026_test(self): try: util.position_ntop(0, CENTER) self.assert_(False) except ValueError: pass