From 2ccf358a5533efe2112da11f5f6e9109ca959899 Mon Sep 17 00:00:00 2001 From: "Simeon L." Date: Mon, 14 Oct 2024 13:03:06 +0200 Subject: [PATCH] fix: Added @Ignore to the tests --- .../diffie-hellman/src/test/kotlin/DiffieHellmanTest.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exercises/practice/diffie-hellman/src/test/kotlin/DiffieHellmanTest.kt b/exercises/practice/diffie-hellman/src/test/kotlin/DiffieHellmanTest.kt index 25e5ff49..84e7510b 100644 --- a/exercises/practice/diffie-hellman/src/test/kotlin/DiffieHellmanTest.kt +++ b/exercises/practice/diffie-hellman/src/test/kotlin/DiffieHellmanTest.kt @@ -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 @@ -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() @@ -28,6 +30,7 @@ class DiffieHellmanTest { assertNotEquals(privateKeyA, privateKeyB) } + @Ignore @Test fun `calculate public key using private key`() { val primeA = 23.toBigInteger() @@ -39,6 +42,7 @@ class DiffieHellmanTest { } + @Ignore @Test fun `calculate secret using other party's public key`() { val prime = 23.toBigInteger() @@ -50,6 +54,7 @@ class DiffieHellmanTest { } + @Ignore @Test fun `key exchange`() { val primeA = 23.toBigInteger()