mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-26 15:36:33 -06:00
fix test signature
This commit is contained in:
parent
11f6aeb090
commit
17a9c1abbb
@ -11,14 +11,14 @@ public class SetTest {
|
||||
|
||||
@Test
|
||||
public void testSet() {
|
||||
Set set = new Set((LongToIntFunction) s -> 3, (LongFunction) e -> e);
|
||||
Set set = new Set((LongToIntFunction) s -> 3, (LongFunction<Object>) e -> e);
|
||||
java.util.Set<Object> s1 = set.apply(15L);
|
||||
assertThat(s1).containsOnly(15L,16L,17L);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStringSet() {
|
||||
StringSet set = new StringSet(s -> 3, (LongToIntFunction) (e -> (int)e));
|
||||
StringSet set = new StringSet((LongToIntFunction) s -> 3, (LongToIntFunction) (e -> (int)e));
|
||||
java.util.Set<String> s1 = set.apply(15L);
|
||||
assertThat(s1).containsOnly("15","16","17");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user