PHP: Determinacy
Instructions
Tips
Loading...
Your exercise will be checked with these tests:
<?php // phpcs:ignore PSR1.Files.SideEffects
namespace HexletBasics\CallingFunctions\Call;
use PHPUnit\Framework\TestCase;
\HexletBasics\Functions\runScript();
class SolutionTest extends TestCase
{
public function test()
{
require 'index.php';
$randomSide = $this->getActualOutputForAssertion();
$this->assertThat(
$randomSide,
$this->logicalAnd(
$this->greaterThanOrEqual(1),
$this->lessThanOrEqual(6)
)
);
}
}
Teacher's solution will be available in:
20:00
