public static function PHPUnit_Framework_Assert::assertLessThanOrEqual in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/Assert.php \PHPUnit_Framework_Assert::assertLessThanOrEqual()
Asserts that a value is smaller than or equal to another value.
@since Method available since Release 3.1.0
Parameters
mixed $expected:
mixed $actual:
string $message:
2 calls to PHPUnit_Framework_Assert::assertLessThanOrEqual()
- Framework_AssertTest::testLessThanOrEqual in vendor/
phpunit/ phpunit/ tests/ Framework/ AssertTest.php - @covers PHPUnit_Framework_Assert::assertLessThanOrEqual
- PHPUnit_Framework_Assert::assertAttributeLessThanOrEqual in vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php - Asserts that an attribute is smaller than or equal to another value.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ Assert.php, line 743
Class
- PHPUnit_Framework_Assert
- A set of assert methods.
Code
public static function assertLessThanOrEqual($expected, $actual, $message = '') {
self::assertThat($actual, self::lessThanOrEqual($expected), $message);
}