You are here

function assertSameSize in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/Assert/Functions.php \assertSameSize()

Assert that the size of two arrays (or `Countable` or `Traversable` objects) is the same.

Parameters

array|Countable|Traversable $expected:

array|Countable|Traversable $actual:

string $message:

File

vendor/phpunit/phpunit/src/Framework/Assert/Functions.php, line 1247

Code

function assertSameSize($expected, $actual, $message = '') {
  return call_user_func_array('PHPUnit_Framework_Assert::assertSameSize', func_get_args());
}