def test_hash(self): disc = Discrete(10) assert disc.__hash__() == 10
def test_hash(self): disc1 = Discrete(10) disc2 = Discrete(10) assert disc1.__hash__() == disc2.__hash__()