summaryrefslogtreecommitdiff
path: root/src/test/java/io/github/bculkin2442/esodata
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2019-07-02 18:32:37 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2019-07-02 18:32:37 -0400
commit4d0a59a0023f2b4fca144a089a3f75acb4ebd62b (patch)
treeeed89369ceda7dd1b356dd5055ada9287738b092 /src/test/java/io/github/bculkin2442/esodata
parent3a56e3ee3f2f6069de5cf8d2bee81052bbf346e6 (diff)
Move tests to new package
Diffstat (limited to 'src/test/java/io/github/bculkin2442/esodata')
-rw-r--r--src/test/java/io/github/bculkin2442/esodata/ThresholdSetTest.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/test/java/io/github/bculkin2442/esodata/ThresholdSetTest.java b/src/test/java/io/github/bculkin2442/esodata/ThresholdSetTest.java
deleted file mode 100644
index c8f2bd3..0000000
--- a/src/test/java/io/github/bculkin2442/esodata/ThresholdSetTest.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package io.github.bculkin2442.esodata;
-
-import org.junit.Test;
-
-import bjc.esodata.ThresholdSet;
-import io.github.bculkin2442.TestUtils;
-
-import java.util.Iterator;
-
-import static org.junit.Assert.*;
-import static io.github.bculkin2442.TestUtils.*;
-
-/**
- * Tests for ThresholdSet
- *
- * @author Ben Culkin.
- */
-public class ThresholdSetTest {
- @Test
- public void testAdd() {
- ThresholdSet<String> thst = new ThresholdSet<>();
-
- thst.addAll("a", "b");
-
- assertIteratorEquals(false, thst.setView().iterator(), "a", "b");
- }
-
- @Test
- public void testAddMulti() {
- ThresholdSet<String> thst = new ThresholdSet<>();
-
- thst.addAll("a", "b", "a");
-
- assertIteratorEquals(false, thst.setView().iterator(), "b");
- }
-
- @Test
- public void testRemoveMulti() {
- ThresholdSet<String> thst = new ThresholdSet<>();
-
- thst.addAll("a", "a", "b");
- thst.removeAll("a");
-
- assertIteratorEquals(false, thst.setView().iterator(), "a", "b");
- }
-}