Use BoardFormatter to generate the board

This commit is contained in:
Frederic Guillot
2016-06-24 08:50:57 -04:00
parent d560f84b37
commit 9e278a9370
16 changed files with 667 additions and 217 deletions

View File

@@ -0,0 +1,21 @@
<?php
require_once __DIR__.'/Base.php';
class FunctionTest extends Base
{
public function testArrayColumnSum()
{
$input = array(
array(
'my_column' => 123
),
array(
'my_column' => 456.7
),
array()
);
$this->assertSame(579.7, array_column_sum($input, 'my_column'));
}
}