Skip to content

Commit aa1ac68

Browse files
Fix test for FactorialCalculator.kt
1 parent 57ee632 commit aa1ac68

File tree

1 file changed

+2
-2
lines changed
  • app/src/main/java/com/lukaslechner/coroutineusecasesonandroid/usecases/coroutines/usecase12

1 file changed

+2
-2
lines changed

app/src/main/java/com/lukaslechner/coroutineusecasesonandroid/usecases/coroutines/usecase12/FactorialCalculator.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FactorialCalculator(
2727
}
2828
}
2929

30-
private suspend fun calculateFactorialOfSubRange(
30+
suspend fun calculateFactorialOfSubRange(
3131
subRange: SubRange
3232
): BigInteger {
3333
return withContext(defaultDispatcher) {
@@ -41,7 +41,7 @@ class FactorialCalculator(
4141
}
4242
}
4343

44-
private fun createSubRangeList(
44+
fun createSubRangeList(
4545
factorialOf: Int,
4646
numberOfSubRanges: Int
4747
): List<SubRange> {

0 commit comments

Comments
 (0)