PHP: Increment and decrement
Instructions
Loading...
Your exercise will be checked with these tests:
<?php
namespace HexletBasics\Loops\Mutators;
use PHPUnit\Framework\TestCase;
class SolutionTest extends TestCase
{
public function test()
{
require 'index.php';
$text = 'I never look back';
$this->assertEquals('I NevEr LooK bAck', makeItFunny($text, 3));
$this->assertEquals('hElLo', makeItFunny('hello', 2));
}
}
Teacher's solution will be available in:
20:00
