Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atcoder/ac-library
/ TEST
Function
TEST
test/unittest/dsu_test.cpp:11–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
9
using ull = unsigned long long;
10
11
TEST(DSUTest, Zero) {
12
dsu uf(0);
13
ASSERT_EQ(std::vector<std::vector<int>>(), uf.groups());
14
}
15
16
TEST(DSUTest, Empty) {
17
dsu uf;
Callers
nothing calls this directly
Calls
6
groups
Method · 0.80
same
Method · 0.80
merge
Method · 0.80
leader
Method · 0.80
dsu
Class · 0.50
size
Method · 0.45
Tested by
no test coverage detected