Closed DrDelay closed 8 years ago
Clean use of generators and data providers 👍 . I really want one of those Abras on steroids ;)
ah right, what about the new attacks introduced by niantic this night?
@f2008305 Feel free to update the https://github.com/NicklasWallgren/PokemonGoAPI-PHP/blob/master/src/Api/Pokemon/Data/PokemonMetaRegistry.php with the latest changes.
#112 got me thinking that unit tests wouldn't be a bad thing to have.
This contains the basic setup along with tests for:
Pokemon::isDeployed()
Pokemon::canEvolve()
Pokemon::canUpgrade()
(Tell me if I did things wrong with the mocks)