public function MatrixUtilityTest::testFindMaxSumSubmatrix in Image Effects 8
Same name and namespace in other branches
- 8.3 tests/src/Unit/MatrixUtilityTest.php \Drupal\Tests\image_effects\Unit\MatrixUtilityTest::testFindMaxSumSubmatrix()
- 8.2 tests/src/Unit/MatrixUtilityTest.php \Drupal\Tests\image_effects\Unit\MatrixUtilityTest::testFindMaxSumSubmatrix()
@covers ::findMaxSumSubmatrix @dataProvider findMaxSumSubmatrixProvider
File
- tests/
src/ Unit/ MatrixUtilityTest.php, line 127
Class
- MatrixUtilityTest
- Tests the matrix utility helper methods.
Namespace
Drupal\Tests\image_effects\UnitCode
public function testFindMaxSumSubmatrix($input, $rows, $columns, $expected) {
$this
->assertSame($expected, MatrixUtility::findMaxSumSubmatrix($input, $rows, $columns));
}