@@ -15,15 +15,15 @@ public class Test_ArrayPoolExtensions
15
15
{
16
16
[ TestMethod ]
17
17
[ ExpectedException ( typeof ( ArgumentOutOfRangeException ) ) ]
18
- public void Test_ArrayExtensions_InvalidSize ( )
18
+ public void Test_ArrayPoolExtensions_Resize_InvalidSize ( )
19
19
{
20
20
int [ ] ? array = null ;
21
21
22
22
ArrayPool < int > . Shared . Resize ( ref array , - 1 ) ;
23
23
}
24
24
25
25
[ TestMethod ]
26
- public void Test_ArrayExtensions_NewArray ( )
26
+ public void Test_ArrayPoolExtensions_Resize_NewArray ( )
27
27
{
28
28
int [ ] ? array = null ;
29
29
@@ -34,7 +34,7 @@ public void Test_ArrayExtensions_NewArray()
34
34
}
35
35
36
36
[ TestMethod ]
37
- public void Test_ArrayExtensions_SameSize ( )
37
+ public void Test_ArrayPoolExtensions_Resize_SameSize ( )
38
38
{
39
39
int [ ] array = ArrayPool < int > . Shared . Rent ( 10 ) ;
40
40
int [ ] backup = array ;
@@ -45,7 +45,7 @@ public void Test_ArrayExtensions_SameSize()
45
45
}
46
46
47
47
[ TestMethod ]
48
- public void Test_ArrayExtensions_Expand ( )
48
+ public void Test_ArrayPoolExtensions_Resize_Expand ( )
49
49
{
50
50
int [ ] array = ArrayPool < int > . Shared . Rent ( 16 ) ;
51
51
int [ ] backup = array ;
@@ -60,7 +60,7 @@ public void Test_ArrayExtensions_Expand()
60
60
}
61
61
62
62
[ TestMethod ]
63
- public void Test_ArrayExtensions_Shrink ( )
63
+ public void Test_ArrayPoolExtensions_Resize_Shrink ( )
64
64
{
65
65
int [ ] array = ArrayPool < int > . Shared . Rent ( 32 ) ;
66
66
int [ ] backup = array ;
@@ -75,7 +75,7 @@ public void Test_ArrayExtensions_Shrink()
75
75
}
76
76
77
77
[ TestMethod ]
78
- public void Test_ArrayExtensions_Clear ( )
78
+ public void Test_ArrayPoolExtensions_Resize_Clear ( )
79
79
{
80
80
int [ ] array = ArrayPool < int > . Shared . Rent ( 16 ) ;
81
81
int [ ] backup = array ;
0 commit comments