File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ public static class CustomAssertions
77 // Generic method to assert that 'actual' is greater than 'expected'
88 public static void GreaterThan < T > ( T actual , T expected ) where T : IComparable < T >
99 {
10- Assert . True ( actual . CompareTo ( expected ) > 0 ,
10+ Assert . True ( actual . CompareTo ( expected ) > 0 ,
1111 $ "Failure: Expected value to be greater than { expected } , but found { actual } .") ;
1212 }
1313
1414 // Generic method to assert that 'actual' is less than 'expected'
1515 public static void LessThan < T > ( T actual , T expected ) where T : IComparable < T >
1616 {
17- Assert . True ( actual . CompareTo ( expected ) < 0 ,
17+ Assert . True ( actual . CompareTo ( expected ) < 0 ,
1818 $ "Failure: Expected value to be less than { expected } , but found { actual } .") ;
1919 }
2020}
You can’t perform that action at this time.
0 commit comments