示例#1
0
 def test_hash(self):
     disc = Discrete(10)
     assert disc.__hash__() == 10
示例#2
0
 def test_hash(self):
     disc1 = Discrete(10)
     disc2 = Discrete(10)
     assert disc1.__hash__() == disc2.__hash__()