for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Aerophant\RamdaTest;
use function Aerophant\Ramda\lte;
use PHPUnit\Framework\TestCase;
class LteTest extends TestCase
{
public function testLteWithFirstArgIsLessThanSecondOne()
$firstArg = 1;
$secondArg = 2;
$actual = lte($firstArg)($secondArg);
$this->assertTrue($actual);
}
public function testLteWithFirstArgIsEqualToSecondOne()
$firstArg = 2;
public function testLteWithFirstArgIsGreaterThanSecondOne()
$firstArg = 3;
$this->assertFalse($actual);