Skip to content

Commit

Permalink
fix: Added @ignore to the tests (#676)
Browse files Browse the repository at this point in the history
[no important files changed]
  • Loading branch information
DerSimeon authored Oct 20, 2024
1 parent 2f8186b commit 1775753
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.junit.Test
import java.math.BigInteger
import kotlin.test.Ignore
import kotlin.test.assertEquals
import kotlin.test.assertNotEquals
import kotlin.test.assertTrue
Expand All @@ -19,6 +20,7 @@ class DiffieHellmanTest {
* Due to the nature of randomness, there is always a chance that this test fails.
* Be sure to check the actual generated values.
*/
@Ignore
@Test
fun `private key is random`() {
val prime = 7919.toBigInteger()
Expand All @@ -28,6 +30,7 @@ class DiffieHellmanTest {
assertNotEquals(privateKeyA, privateKeyB)
}

@Ignore
@Test
fun `calculate public key using private key`() {
val primeA = 23.toBigInteger()
Expand All @@ -39,6 +42,7 @@ class DiffieHellmanTest {
}


@Ignore
@Test
fun `calculate secret using other party's public key`() {
val prime = 23.toBigInteger()
Expand All @@ -50,6 +54,7 @@ class DiffieHellmanTest {
}


@Ignore
@Test
fun `key exchange`() {
val primeA = 23.toBigInteger()
Expand Down

0 comments on commit 1775753

Please sign in to comment.