From 8c55dc1286fb5f2c8d91ca5b7bb9adb9dd09f600 Mon Sep 17 00:00:00 2001 From: "Simeon L." <78266888+DerSimeon@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:54:17 +0200 Subject: [PATCH] fix: Added @Ignore to the tests (#671) [no important files changed] --- .../src/test/kotlin/ArmstrongNumberTest.kt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/exercises/practice/armstrong-numbers/src/test/kotlin/ArmstrongNumberTest.kt b/exercises/practice/armstrong-numbers/src/test/kotlin/ArmstrongNumberTest.kt index 3ad91112..ef42970f 100644 --- a/exercises/practice/armstrong-numbers/src/test/kotlin/ArmstrongNumberTest.kt +++ b/exercises/practice/armstrong-numbers/src/test/kotlin/ArmstrongNumberTest.kt @@ -1,35 +1,42 @@ import kotlin.test.Test -import kotlin.test.assertEquals -import kotlin.test.assertFailsWith import kotlin.test.assertTrue import kotlin.test.assertFalse +import kotlin.test.Ignore class ArmstrongNumberTest { @Test fun `zero is an armstrong number`() = assertTrue(ArmstrongNumber.check(0)) + @Ignore @Test fun `single digit numbers are armstrong numbers`() = assertTrue(ArmstrongNumber.check(5)) + @Ignore @Test fun `there are no 2 digit armstrong numbers`() = assertFalse(ArmstrongNumber.check(10)) + @Ignore @Test fun `three digit number that is an armstrong number`() = assertTrue(ArmstrongNumber.check(153)) + @Ignore @Test fun `three digit number that is not an armstrong number`() = assertFalse(ArmstrongNumber.check(100)) + @Ignore @Test fun `four digit number that is an armstrong number`() = assertTrue(ArmstrongNumber.check(9474)) + @Ignore @Test fun `four digit number that is not an armstrong number`() = assertFalse(ArmstrongNumber.check(9475)) + @Ignore @Test fun `seven digit number that is an armstrong number`() = assertTrue(ArmstrongNumber.check(9926315)) + @Ignore @Test fun `seven digit number that is not an armstrong number`() = assertFalse(ArmstrongNumber.check(9926314)) }