Skip to content

Commit

Permalink
KTLN-596: code review
Browse files Browse the repository at this point in the history
  • Loading branch information
etrandafir93 committed Jul 9, 2024
1 parent b44e7a3 commit 1cb58c9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.junit.jupiter.params.provider.Arguments
import org.junit.jupiter.params.provider.MethodSource
import kotlin.test.assertEquals

class JUnit5_ExampleVsPeopertyBasedUnitTest {
class JUnit5_ExampleVsPropertyBasedUnitTest {

val converter = RomanNumeralsConverter()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Jqwik_PropertyBasedUnitTest {
return originalInt == finalInt
}


@Property(tries = 4000)
fun `should convert integer to roman and back for all valid inputs (exhaustive testing)`(
@ForAll @IntRange(min = 0, max = 3999) originalInt: Int,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
package com.baeldung.propertytesting

import org.assertj.core.api.Assertions
import org.junit.jupiter.api.Test
import java.util.*

class RomanNumeralsConverter {

private val romanPairs = mapOf(
Expand Down Expand Up @@ -52,7 +48,4 @@ class RomanNumeralsConverter {
}
return result
}



}

0 comments on commit 1cb58c9

Please sign in to comment.