Skip to content

Instantly share code, notes, and snippets.

@bobo
Created April 5, 2012 17:19
Show Gist options
  • Save bobo/2312620 to your computer and use it in GitHub Desktop.
Save bobo/2312620 to your computer and use it in GitHub Desktop.
@Test
public void testCallHashCodeMultiple() {
int loopCount = 0;
for (int outer = 0; outer < 32; outer++) {
for (int inner = 0; inner < 2; inner++) {
loopCount++;
cacheableTestInterface.callHashCodeCacheKeyGeneratorMultiple(inner, outer);
}
}
Assert.assertEquals(loopCount, cacheableTestInterface.callHashCodeCacheKeyGeneratorMultipleCount());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment