mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
further optimisation by using iterator rather than forloop with if-clauses
This commit is contained in:
@@ -83,4 +83,12 @@ public class CardDbPerformanceTests extends CardDbTestCase {
|
||||
assertNotNull(card);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetCardFullDbLegacyImplementationToProfile(){
|
||||
for (String name : this.fullDbCardNames) {
|
||||
PaperCard card = this.legacyCardDb.getCard(name);
|
||||
assertNotNull(card);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user