Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jankotek/mapdb
/ testAddDup
Method
testAddDup
src/test/java/org/mapdb/BTreeSet3Test.java:150–154 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
148
* Add of duplicate element fails
149
*/
150
public
void
testAddDup() {
151
NavigableSet q = set0();
152
assertTrue(q.add(six));
153
assertFalse(q.add(six));
154
}
155
156
/*
157
* Add of non-Comparable throws CCE
Callers
nothing calls this directly
Calls
2
set0
Method · 0.95
add
Method · 0.45
Tested by
no test coverage detected