test #197

Merged
klaus merged 12 commits from test into main 2024-07-08 14:17:42 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8700030707 - Show all commits

View File

@ -237,7 +237,7 @@ class RouletteService(
} }
val totalPercentage = items.map { it.percentage }.sum() val totalPercentage = items.map { it.percentage }.sum()
if (totalPercentage > 100.1f || totalPercentage < 99.9f) { if (totalPercentage > 100.1f || totalPercentage <= 99.99f) {
throw SodaException("확률이 100%가 아닙니다") throw SodaException("확률이 100%가 아닙니다")
} }
} }