Skip to content

Commit 3000d34

Browse files
committed
rename matrix in unit test.
1 parent f09a90f commit 3000d34

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

test/NumSharp.UnitTest/Matrix.Test.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class MatrixTest
1212
[TestMethod]
1313
public void CheckToString()
1414
{
15-
var matrix = new Matrix("1 2 3;4 5 6;7 8 9");
15+
var matrix = new matrix("1 2 3;4 5 6;7 8 9");
1616

1717
string matrixAsString = matrix.ToString();
1818

test/NumSharp.UnitTest/Operations/Matrix.Addition.Test.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public class MatrixAdditionTest : TestBase
1414
[TestMethod]
1515
public void DoubleTwo2D_MatrixAddition()
1616
{
17-
var np1 = new Matrix("1 2 3;4 5 6;7 8 9");
18-
var np2 = new Matrix("1 2 3;4 5 6;7 8 9");
17+
var np1 = new matrix("1 2 3;4 5 6;7 8 9");
18+
var np2 = new matrix("1 2 3;4 5 6;7 8 9");
1919

2020
var np3 = np1 + np2;
2121

test/NumSharp.UnitTest/Operations/Matrix.Substraction.Test.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ public class MatrixSubstractionTest : TestBase
1515
[TestMethod]
1616
public void DoubleTwo2D_MatrixSubstraction()
1717
{
18-
var np1 = new Matrix("1 2 3;4 5 6;7 8 9");
19-
var np2 = new Matrix("1 2 3;4 5 6;7 8 9");
18+
var np1 = new matrix("1 2 3;4 5 6;7 8 9");
19+
var np2 = new matrix("1 2 3;4 5 6;7 8 9");
2020

2121
var np3 = np1 - np2;
2222

@@ -26,8 +26,8 @@ public void DoubleTwo2D_MatrixSubstraction()
2626
[TestMethod]
2727
public void ComplexTwo2D_MatrixSubstraction()
2828
{
29-
var np1 = new Matrix(np.array(new Complex[] { new Complex(1, 2), new Complex(3, 4), new Complex(5, 6), new Complex(7, 8) }));
30-
var np2 = new Matrix(np.array(new Complex[] { new Complex(8, 7), new Complex(6, 5), new Complex(4, 3), new Complex(2, 1) }));
29+
var np1 = new matrix(np.array(new Complex[] { new Complex(1, 2), new Complex(3, 4), new Complex(5, 6), new Complex(7, 8) }));
30+
var np2 = new matrix(np.array(new Complex[] { new Complex(8, 7), new Complex(6, 5), new Complex(4, 3), new Complex(2, 1) }));
3131

3232
var np3 = np1 - np2;
3333

0 commit comments

Comments
 (0)