You are here

public function PHP_TimerTest::testSecondsToTimeString in Zircon Profile 8.0

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

@covers PHP_Timer::secondsToTimeString @dataProvider secondsProvider

File

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

Class

PHP_TimerTest
Tests for PHP_Timer.

Code

public function testSecondsToTimeString($string, $seconds) {
  $this
    ->assertEquals($string, PHP_Timer::secondsToTimeString($seconds));
}