예제 #1
0
파일: test_data.py 프로젝트: washort/typhon
 def testHashInequal(self):
     a = StrObject(u"acerbic")
     b = StrObject(u"bitter")
     self.assertNotEqual(a.hash(), b.hash())
예제 #2
0
 def testHashInequal(self):
     a = StrObject(u"acerbic")
     b = StrObject(u"bitter")
     self.assertNotEqual(a.hash(), b.hash())
예제 #3
0
파일: test_data.py 프로젝트: washort/typhon
 def testHashEqual(self):
     a = StrObject(u"acidic")
     b = StrObject(u"acidic")
     self.assertEqual(a.hash(), b.hash())
예제 #4
0
 def testHashEqual(self):
     a = StrObject(u"acidic")
     b = StrObject(u"acidic")
     self.assertEqual(a.hash(), b.hash())