@@ -8,11 +8,11 @@ public class _074_SearchA2DMatrix_Test
8
8
[ TestMethod ]
9
9
public void SearchMatrixTest_Exist_FirstRow ( )
10
10
{
11
- var input = new int [ , ]
11
+ var input = new int [ ] [ ]
12
12
{
13
- { 1 , 3 , 5 , 7 } ,
14
- { 10 , 11 , 16 , 20 } ,
15
- { 23 , 30 , 34 , 50 }
13
+ new int [ ] { 1 , 3 , 5 , 7 } ,
14
+ new int [ ] { 10 , 11 , 16 , 20 } ,
15
+ new int [ ] { 23 , 30 , 34 , 50 }
16
16
} ;
17
17
18
18
var solution = new _074_SearchA2DMatrix ( ) ;
@@ -24,11 +24,11 @@ public void SearchMatrixTest_Exist_FirstRow()
24
24
[ TestMethod ]
25
25
public void SearchMatrixTest_Exist_FirstColumn ( )
26
26
{
27
- var input = new int [ , ]
27
+ var input = new int [ ] [ ]
28
28
{
29
- { 1 , 3 , 5 , 7 } ,
30
- { 10 , 11 , 16 , 20 } ,
31
- { 23 , 30 , 34 , 50 }
29
+ new int [ ] { 1 , 3 , 5 , 7 } ,
30
+ new int [ ] { 10 , 11 , 16 , 20 } ,
31
+ new int [ ] { 23 , 30 , 34 , 50 }
32
32
} ;
33
33
34
34
var solution = new _074_SearchA2DMatrix ( ) ;
@@ -40,11 +40,11 @@ public void SearchMatrixTest_Exist_FirstColumn()
40
40
[ TestMethod ]
41
41
public void SearchMatrixTest_Exist_MidRow ( )
42
42
{
43
- var input = new int [ , ]
43
+ var input = new int [ ] [ ]
44
44
{
45
- { 1 , 3 , 5 , 7 } ,
46
- { 10 , 11 , 16 , 20 } ,
47
- { 23 , 30 , 34 , 50 }
45
+ new int [ ] { 1 , 3 , 5 , 7 } ,
46
+ new int [ ] { 10 , 11 , 16 , 20 } ,
47
+ new int [ ] { 23 , 30 , 34 , 50 }
48
48
} ;
49
49
50
50
var solution = new _074_SearchA2DMatrix ( ) ;
@@ -56,11 +56,11 @@ public void SearchMatrixTest_Exist_MidRow()
56
56
[ TestMethod ]
57
57
public void SearchMatrixTest_Exist_LastRow ( )
58
58
{
59
- var input = new int [ , ]
59
+ var input = new int [ ] [ ]
60
60
{
61
- { 1 , 3 , 5 , 7 } ,
62
- { 10 , 11 , 16 , 20 } ,
63
- { 23 , 30 , 34 , 50 }
61
+ new int [ ] { 1 , 3 , 5 , 7 } ,
62
+ new int [ ] { 10 , 11 , 16 , 20 } ,
63
+ new int [ ] { 23 , 30 , 34 , 50 }
64
64
} ;
65
65
66
66
var solution = new _074_SearchA2DMatrix ( ) ;
@@ -72,11 +72,11 @@ public void SearchMatrixTest_Exist_LastRow()
72
72
[ TestMethod ]
73
73
public void SearchMatrixTest_NotExist_LessThanFirst ( )
74
74
{
75
- var input = new int [ , ]
75
+ var input = new int [ ] [ ]
76
76
{
77
- { 1 , 3 , 5 , 7 } ,
78
- { 10 , 11 , 16 , 20 } ,
79
- { 23 , 30 , 34 , 50 }
77
+ new int [ ] { 1 , 3 , 5 , 7 } ,
78
+ new int [ ] { 10 , 11 , 16 , 20 } ,
79
+ new int [ ] { 23 , 30 , 34 , 50 }
80
80
} ;
81
81
82
82
var solution = new _074_SearchA2DMatrix ( ) ;
@@ -88,11 +88,11 @@ public void SearchMatrixTest_NotExist_LessThanFirst()
88
88
[ TestMethod ]
89
89
public void SearchMatrixTest_NotExist_GreaterThanLast ( )
90
90
{
91
- var input = new int [ , ]
91
+ var input = new int [ ] [ ]
92
92
{
93
- { 1 , 3 , 5 , 7 } ,
94
- { 10 , 11 , 16 , 20 } ,
95
- { 23 , 30 , 34 , 50 }
93
+ new int [ ] { 1 , 3 , 5 , 7 } ,
94
+ new int [ ] { 10 , 11 , 16 , 20 } ,
95
+ new int [ ] { 23 , 30 , 34 , 50 }
96
96
} ;
97
97
98
98
var solution = new _074_SearchA2DMatrix ( ) ;
@@ -104,11 +104,11 @@ public void SearchMatrixTest_NotExist_GreaterThanLast()
104
104
[ TestMethod ]
105
105
public void SearchMatrixTest_NotExist_GreaterThanFirstRow ( )
106
106
{
107
- var input = new int [ , ]
107
+ var input = new int [ ] [ ]
108
108
{
109
- { 1 , 3 , 5 , 7 } ,
110
- { 10 , 11 , 16 , 20 } ,
111
- { 23 , 30 , 34 , 50 }
109
+ new int [ ] { 1 , 3 , 5 , 7 } ,
110
+ new int [ ] { 10 , 11 , 16 , 20 } ,
111
+ new int [ ] { 23 , 30 , 34 , 50 }
112
112
} ;
113
113
114
114
var solution = new _074_SearchA2DMatrix ( ) ;
0 commit comments