mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix short array syntax and backwards test
This commit is contained in:
parent
475c8d49a9
commit
509893e791
2 changed files with 2 additions and 2 deletions
|
|
@ -119,7 +119,7 @@ class Calendar
|
||||||
$return = array();
|
$return = array();
|
||||||
for ($i = 0; $i < 6; $i++)
|
for ($i = 0; $i < 6; $i++)
|
||||||
{
|
{
|
||||||
$week = [];
|
$week = array();
|
||||||
for ($j = 0; $j < 7; $j++)
|
for ($j = 0; $j < 7; $j++)
|
||||||
{
|
{
|
||||||
$week[] = array_shift($temp);
|
$week[] = array_shift($temp);
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ class TimerTest extends \Codeception\TestCase\Test
|
||||||
$t4 = Rhymix\Framework\Timer::stop();
|
$t4 = Rhymix\Framework\Timer::stop();
|
||||||
|
|
||||||
$this->assertGreaterThanOrEqual($t1, $t2);
|
$this->assertGreaterThanOrEqual($t1, $t2);
|
||||||
$this->assertGreaterThan($t4, $t3);
|
$this->assertGreaterThan($t3, $t4);
|
||||||
}
|
}
|
||||||
|
|
||||||
function testMultipleTimers()
|
function testMultipleTimers()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue