Exemplo n.º 1
0
 def testHashInequal(self):
     a = DoubleObject(42)
     b = DoubleObject(5)
     self.assertNotEqual(a.hash(), b.hash())
Exemplo n.º 2
0
 def testHashInequal(self):
     a = DoubleObject(42)
     b = DoubleObject(5)
     self.assertNotEqual(a.hash(), b.hash())
Exemplo n.º 3
0
 def testHashEqual(self):
     a = DoubleObject(42)
     b = DoubleObject(42)
     self.assertEqual(a.hash(), b.hash())
Exemplo n.º 4
0
 def testHashEqual(self):
     a = DoubleObject(42)
     b = DoubleObject(42)
     self.assertEqual(a.hash(), b.hash())