iluwatar / 30-seconds-of-java

Collection of reusable tested Java 17 compatible code snippets that you can understand in 30 seconds or less.
https://java-design-patterns.com/snippets.html
MIT License
1.04k stars 410 forks source link

Java random numbers implementation #202

Closed Shanty97 closed 8 months ago

Shanty97 commented 9 months ago

Random Number between X and Y

Throw A Dice (eg. 3d6)

Test Report

Test-Report

CheckStyle Report - Main

CheckStyle-Main

CheckStyle Report - Test

CheckStyle-Test

sonarcloud[bot] commented 8 months ago

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

iluwatar commented 8 months ago

Looks great! Thank you for the contribution 🎉

Shanty97 commented 8 months ago

@iluwatar My pleasure !