File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
MigrationTools.Clients.TfsObjectModel.Tests/Tools
MigrationTools.Tests/Tools/FieldMaps Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public void TfsRevisionManagerToolInSync1()
3737
3838 var revs = processorEnricher . GetRevisionsToMigrate ( source , target ) ;
3939
40- Assert . AreEqual ( 0 , revs . Count ) ;
40+ Assert . IsEmpty ( revs ) ;
4141 }
4242
4343 [ TestMethod ( ) , TestCategory ( "L0" ) ]
@@ -51,8 +51,7 @@ public void TfsRevisionManagerToolInSync10()
5151
5252 var revs = processorEnricher . GetRevisionsToMigrate ( source , target ) ;
5353
54- Assert . AreEqual ( 0 , revs . Count ) ;
55-
54+ Assert . IsEmpty ( revs ) ;
5655 }
5756
5857 [ TestMethod ( ) , TestCategory ( "L0" ) ]
@@ -119,7 +118,7 @@ public void TfsRevisionManagerToolMaxRevision51()
119118
120119 var revs = processorEnricher . GetRevisionsToMigrate ( source , target ) ;
121120
122- Assert . AreEqual ( 0 , revs . Count ) ;
121+ Assert . IsEmpty ( revs ) ;
123122 }
124123
125124 [ TestMethod ( ) , TestCategory ( "L0" ) ]
Original file line number Diff line number Diff line change 11using System ;
2- using System . Collections . Generic ;
32using Microsoft . VisualStudio . TestTools . UnitTesting ;
43using MigrationTools . Tools ;
54using NCalc ;
@@ -17,7 +16,7 @@ public void FieldCalculationMapOptions_Constructor_ShouldInitializeParametersDic
1716
1817 // Assert
1918 Assert . IsNotNull ( options . parameters ) ;
20- Assert . AreEqual ( 0 , options . parameters . Count ) ;
19+ Assert . IsEmpty ( options . parameters ) ;
2120 }
2221
2322 [ TestMethod ]
@@ -57,7 +56,7 @@ public void NCalcExpression_ComplexCalculation_ShouldEvaluateCorrectly()
5756 // Arrange
5857 var expression = new Expression ( "([a] + [b]) * [c]" ) ;
5958 expression . Parameters [ "a" ] = 10 ;
60- expression . Parameters [ "b" ] = 5 ;
59+ expression . Parameters [ "b" ] = 5 ;
6160 expression . Parameters [ "c" ] = 2 ;
6261
6362 // Act
You can’t perform that action at this time.
0 commit comments