PHP: Logic Type
Instructions
Loading...
Your exercise will be checked with these tests:
<?php
namespace HexletBasics\Logic\BoolType;
use PHPUnit\Framework\TestCase;
class SolutionTest extends TestCase
{
public function test()
{
require 'index.php';
$this->assertFalse(isPensioner(23));
$this->assertFalse(isPensioner(59));
$this->assertTrue(isPensioner(60));
$this->assertTrue(isPensioner(70));
}
}
Teacher's solution will be available in:
20:00
