File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public void TestDeletePerformance()
3636 } ) ;
3737
3838 var items = realm . Run ( r => r . All < BeatmapSetInfo > ( ) . ToList ( ) ) ;
39- Assert . AreEqual ( count , items . Count ) ;
39+ Assert . That ( items . Count , Is . EqualTo ( count ) ) ;
4040
4141 var sw = Stopwatch . StartNew ( ) ;
4242 manager . Delete ( items ) ;
@@ -46,7 +46,7 @@ public void TestDeletePerformance()
4646
4747 // Verify deletion
4848 int remaining = realm . Run ( r => r . All < BeatmapSetInfo > ( ) . Count ( s => ! s . DeletePending ) ) ;
49- Assert . AreEqual ( 0 , remaining ) ;
49+ Assert . That ( remaining , Is . EqualTo ( 0 ) ) ;
5050 } ) ;
5151 }
5252
@@ -72,7 +72,7 @@ public void TestUndeletePerformance()
7272 } ) ;
7373
7474 var items = realm . Run ( r => r . All < BeatmapSetInfo > ( ) . ToList ( ) ) ;
75- Assert . AreEqual ( count , items . Count ) ;
75+ Assert . That ( items . Count , Is . EqualTo ( count ) ) ;
7676
7777 var sw = Stopwatch . StartNew ( ) ;
7878 manager . Undelete ( items ) ;
@@ -82,7 +82,7 @@ public void TestUndeletePerformance()
8282
8383 // Verify undeletion
8484 int remaining = realm . Run ( r => r . All < BeatmapSetInfo > ( ) . Count ( s => ! s . DeletePending ) ) ;
85- Assert . AreEqual ( count , remaining ) ;
85+ Assert . That ( remaining , Is . EqualTo ( count ) ) ;
8686 } ) ;
8787 }
8888
You can’t perform that action at this time.
0 commit comments