PHP: Negation
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
<?php
namespace HexletBasics\Logic\LogicalNegation;
use PHPUnit\Framework\TestCase;
class SolutionTest extends TestCase
{
public function test()
{
require 'index.php';
$this->assertFalse(isNotPalindrome('wow'));
$this->assertFalse(isNotPalindrome('asdffdsa'));
$this->assertFalse(isNotPalindrome('Wow'));
$this->assertTrue(isNotPalindrome('hexlet'));
}
}
Teacher's solution will be available in:
20:00
