示例#1
0
 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__()
示例#2
0
文件: test_box.py 项目: yus-nas/akro
 def test_hash(self):
     box = Box(0.0, 1.0, (3, 4))
     assert box.__hash__() == 1213972508617964782