@@ -20,9 +20,9 @@ public static void GetsAbsVal<T>(T inputNum, T expected) where T : INumber<T>
20
20
Assert . That ( result , Is . EqualTo ( expected ) ) ;
21
21
}
22
22
23
- [ TestCase ( new int [ ] { - 3 , - 1 , 2 , - 11 } , - 11 ) ]
24
- [ TestCase ( new int [ ] { 0 , 5 , 1 , 11 } , 11 ) ]
25
- [ TestCase ( new double [ ] { 3.0 , - 10.0 , - 2.0 } , - 10.0d ) ]
23
+ [ TestCase ( new [ ] { - 3 , - 1 , 2 , - 11 } , - 11 ) ]
24
+ [ TestCase ( new [ ] { 0 , 5 , 1 , 11 } , 11 ) ]
25
+ [ TestCase ( new [ ] { 3.0 , - 10.0 , - 2.0 } , - 10.0d ) ]
26
26
public static void GetAbsMax < T > ( T [ ] inputNums , T expected ) where T : INumber < T >
27
27
{
28
28
// Act
@@ -32,9 +32,9 @@ public static void GetAbsMax<T>(T[] inputNums, T expected) where T : INumber<T>
32
32
Assert . That ( result , Is . EqualTo ( expected ) ) ;
33
33
}
34
34
35
- [ TestCase ( new int [ ] { - 3 , - 1 , 2 , - 11 } , - 1 ) ]
36
- [ TestCase ( new int [ ] { - 3 , - 5 , 1 , - 11 } , 1 ) ]
37
- [ TestCase ( new int [ ] { 0 , 5 , 1 , 11 } , 0 ) ]
35
+ [ TestCase ( new [ ] { - 3 , - 1 , 2 , - 11 } , - 1 ) ]
36
+ [ TestCase ( new [ ] { - 3 , - 5 , 1 , - 11 } , 1 ) ]
37
+ [ TestCase ( new [ ] { 0 , 5 , 1 , 11 } , 0 ) ]
38
38
public static void GetAbsMin < T > ( T [ ] inputNums , T expected ) where T : INumber < T >
39
39
{
40
40
// Act
0 commit comments