This commit is contained in:
@hangga 2023-11-01 12:44:04 +07:00
parent 579f35981e
commit 10ddc97854
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ public class UUIDPositiveLongGeneratorUnitTest {
void whenForeachGenerateLongValue_thenCollisionsCheck() throws InvocationTargetException, IllegalAccessException {
printTableHeader();
for (Method method : uuidLongGenerator.getClass().getDeclaredMethods()) {
collisionAndNegativeCheck(method);
collisionCheck(method);
}
}
@ -39,7 +39,7 @@ public class UUIDPositiveLongGeneratorUnitTest {
}
private void collisionAndNegativeCheck(Method method) throws InvocationTargetException, IllegalAccessException {
private void collisionCheck(Method method) throws InvocationTargetException, IllegalAccessException {
Set<Long> uniqueValues = new HashSet<>();
int collisions = 0;
int negative = 0;