Application consists of team and heroes. Hero has name and power property. Team's power is equal to heroes' total power.
What we would like you to do is adding a new hero type named MultiHero to application. You can find details below.
- MultiHero is a hero which is combination of two heroes.
- MultiHero has a name and power.
- MultiHero must be added to application without any changes on existing code.
- MultiHero has to pass the tests.
#####Running tests
You can run tests with the following command when you are inside project root directory.
./vendor/bin/phpunit --bootstrap vendor/autoload.php ./tests/