Skip to content

Commit ccf577e

Browse files
committed
custom-set: update tests to 1.1.0
1 parent 54bee0f commit ccf577e

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

‎exercises/custom-set/.meta/version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.1.0

‎exercises/custom-set/src/test/java/CustomSetTest.java‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,14 @@ public void setsWithDifferentElementsAreNotEqual() {
170170
assertFalse(customSet.equals(secondCustomSet));
171171
}
172172

173+
@Ignore("Remove to run test")
174+
@Test
175+
public void setIsNotEqualToLargerSetWithSameElements() {
176+
CustomSet<String> customSet = new CustomSet<>(Arrays.asList("1", "2", "3"));
177+
CustomSet<String> secondCustomSet = new CustomSet<>(Arrays.asList("1", "2", "3", "4"));
178+
assertFalse(customSet.equals(secondCustomSet));
179+
}
180+
173181
@Ignore("Remove to run test")
174182
@Test
175183
public void addToEmptySet() {

0 commit comments

Comments
 (0)