diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2018-10-16 05:12:31 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2018-10-16 05:12:31 -0400 |
| commit | 1ca712c707b5e3bb8f4b4cd6e2b394adb7069f84 (patch) | |
| tree | 3edb5ec336ed0ef704aa55e337b059540f64e380 /base/src/main/java/bjc/utils/funcutils | |
| parent | d2be5b73d7a5653ad5c8273c17284346baa6f1c7 (diff) | |
Testing stuff
Diffstat (limited to 'base/src/main/java/bjc/utils/funcutils')
| -rw-r--r-- | base/src/main/java/bjc/utils/funcutils/TestUtils.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/src/main/java/bjc/utils/funcutils/TestUtils.java b/base/src/main/java/bjc/utils/funcutils/TestUtils.java index df44e7a..04d1909 100644 --- a/base/src/main/java/bjc/utils/funcutils/TestUtils.java +++ b/base/src/main/java/bjc/utils/funcutils/TestUtils.java @@ -2,7 +2,6 @@ package bjc.utils.funcutils; import static org.junit.Assert.assertEquals; -import java.util.Collection; import java.util.Iterator; /** @@ -20,6 +19,7 @@ public class TestUtils { * @param vals * The values to expect from the iterator. */ + @SafeVarargs public static <T> void assertIteratorEquals(Iterator<T> src, T... vals) { for (T val : vals) { assertEquals(val, src.next()); @@ -36,6 +36,7 @@ public class TestUtils { * @param vals * The values to expect from the iterator. */ + @SafeVarargs public static <T> void assertIteratorEquals(Iterator<T> src, boolean hasMore, T... vals) { assertIteratorEquals(src, vals); |
