class test_stone: def setUp(self): self.stone = Stone() def tearDown(self): del self.stone def test_elements(self): for x in ELEMENTS: assert self.stone[x] == 0 def test_hashable(self): assert self.stone.__hash__()
def setUp(self): self.stone = Stone()