def test_hash(self): box1 = Box(0.0, 1.0, (3, 4)) box2 = Box(0.0, 1.0, (3, 4)) assert box1.__hash__() == box2.__hash__()
def test_hash(self): box = Box(0.0, 1.0, (3, 4)) assert box.__hash__() == 1213972508617964782