From 1dc784b8418fbfeadc769da5e7ee4f8162e552ee Mon Sep 17 00:00:00 2001 From: Hugo Selle Date: Fri, 19 Apr 2024 10:08:42 +0200 Subject: [PATCH] [TYPO] CustomSetTest.kt : "sut" -> "customSet" --- .../src/test/kotlin/CustomSetTest.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/exercises/practice/custom-set/src/test/kotlin/CustomSetTest.kt b/exercises/practice/custom-set/src/test/kotlin/CustomSetTest.kt index 1b8e0411..2c21052e 100644 --- a/exercises/practice/custom-set/src/test/kotlin/CustomSetTest.kt +++ b/exercises/practice/custom-set/src/test/kotlin/CustomSetTest.kt @@ -8,32 +8,32 @@ class CustomSetTest { @Test fun `sets with no elements are empty`() { - val sut = CustomSet() - assertTrue(sut.isEmpty()) + val customSet = CustomSet() + assertTrue(customSet.isEmpty()) } @Test fun `sets with elements are not empty`() { - val sut = CustomSet(1) - assertFalse(sut.isEmpty()) + val customSet = CustomSet(1) + assertFalse(customSet.isEmpty()) } @Test fun `nothing is contained in an empty set`() { - val sut = CustomSet() - assertFalse(sut.contains(1)) + val customSet = CustomSet() + assertFalse(customSet.contains(1)) } @Test fun `when the element is in the set`() { - val sut = CustomSet(1, 2, 3) - assertTrue(sut.contains(1)) + val customSet = CustomSet(1, 2, 3) + assertTrue(customSet.contains(1)) } @Test fun `when the element is not in the set`() { - val sut = CustomSet(1, 2, 3) - assertFalse(sut.contains(4)) + val customSet = CustomSet(1, 2, 3) + assertFalse(customSet.contains(4)) } @Test