update time test

This commit is contained in:
@hangga 2023-11-04 15:28:49 +07:00
parent 899700f27e
commit 32940c41e4
1 changed files with 2 additions and 2 deletions

View File

@ -28,13 +28,13 @@ public class UUIDPositiveLongGeneratorUnitTest {
}
private void printTableHeader() {
logger.info(String.format("%-30s %15s %15s %15s", "Approach(method name)", "collisions", "probability","Time"));
logger.info(String.format("%-25s %15s %15s %15s", "Approach(method name)", "collisions", "probability","Testing Time"));
logger.info("--------------------------------------------------------------------------------");
}
private void printOutput(String method, int collisionsCount, double collisionsProbability, String time) {
DecimalFormat decimalFormat = new DecimalFormat("#.#####");
logger.info(String.format("%-30s %15s %15s %15s", method, collisionsCount, decimalFormat.format(collisionsProbability),time));
logger.info(String.format("%-25s %15s %15s %15s", method, collisionsCount, decimalFormat.format(collisionsProbability),time));
}
private void collisionCheck(Method method) throws Exception {