public static function 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 drupal/core/vendor/phpunit/phpunit/Tests/Framework/AssertTest.php
@covers PHPUnit_Framework_Assert::assertLessThanOrEqual
PHPUnit_Framework_Assert::assertAttributeLessThanOrEqual in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php
Asserts that an attribute is smaller than or equal to another value.

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/Assert.php, line 712

Class

PHPUnit_Framework_Assert
A set of assert methods.

Code

public static function assertLessThanOrEqual($expected, $actual, $message = '') {
  self::assertThat($actual, self::lessThanOrEqual($expected), $message);
}