Skip to content

Commit 1cb58c9

Browse files
committed
KTLN-596: code review
1 parent b44e7a3 commit 1cb58c9

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import org.junit.jupiter.params.provider.Arguments
55
import org.junit.jupiter.params.provider.MethodSource
66
import kotlin.test.assertEquals
77

8-
class JUnit5_ExampleVsPeopertyBasedUnitTest {
8+
class JUnit5_ExampleVsPropertyBasedUnitTest {
99

1010
val converter = RomanNumeralsConverter()
1111

kotlin-testing/src/test/kotlin/com/baeldung/propertytesting/Jqwik_PropertyBasedUnitTest.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class Jqwik_PropertyBasedUnitTest {
3737
return originalInt == finalInt
3838
}
3939

40-
4140
@Property(tries = 4000)
4241
fun `should convert integer to roman and back for all valid inputs (exhaustive testing)`(
4342
@ForAll @IntRange(min = 0, max = 3999) originalInt: Int,

kotlin-testing/src/test/kotlin/com/baeldung/propertytesting/RomanNumeralsConverter.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
package com.baeldung.propertytesting
22

3-
import org.assertj.core.api.Assertions
4-
import org.junit.jupiter.api.Test
5-
import java.util.*
6-
73
class RomanNumeralsConverter {
84

95
private val romanPairs = mapOf(
@@ -52,7 +48,4 @@ class RomanNumeralsConverter {
5248
}
5349
return result
5450
}
55-
56-
57-
5851
}

0 commit comments

Comments
 (0)