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