You are here

public function PHP_TimerTest::testResourceUsage in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-timer/Tests/TimerTest.php \PHP_TimerTest::testResourceUsage()

@covers PHP_Timer::resourceUsage

File

vendor/phpunit/php-timer/Tests/TimerTest.php, line 54

Class

PHP_TimerTest
Tests for PHP_Timer.

Code

public function testResourceUsage() {
  $this
    ->assertStringMatchesFormat('Time: %s, Memory: %s', PHP_Timer::resourceUsage());
}