mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-29 23:42:34 +08:00
Add automatic linter (#4214)
This commit is contained in:
@ -33,8 +33,7 @@ class StrassenMatrixMultiplicationTest {
|
||||
void StrassenMatrixMultiplicationTestNegetiveNumber4x4() {
|
||||
int[][] A = {{1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}, {13, 14, 15, 16}};
|
||||
int[][] B = {{1, -2, -3, 4}, {4, -3, -2, 1}, {5, -6, -7, 8}, {8, -7, -6, -5}};
|
||||
int[][] expResult = {{56, -54, -52, 10}, {128, -126, -124, 42}, {200, -198, -196, 74},
|
||||
{272, -270, -268, 106}};
|
||||
int[][] expResult = {{56, -54, -52, 10}, {128, -126, -124, 42}, {200, -198, -196, 74}, {272, -270, -268, 106}};
|
||||
int[][] actResult = SMM.multiply(A, B);
|
||||
assertArrayEquals(expResult, actResult);
|
||||
}
|
||||
|
Reference in New Issue
Block a user