Esempio n. 1
0
 def test_invalid_shapeshifter(self,fro,to,mode):
     with pytest.raises(ValueError):
         util.shapeshifter(fro,to,mode)
Esempio n. 2
0
 def test_shapeshifter(self,fro,to,mode,answer):
     assert util.shapeshifter(fro,to,mode) == answer