Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cvanaret/Uno
/ TEST
Function
TEST
unotest/unit_tests/SparseVectorTests.cpp:9–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
using namespace uno;
8
9
TEST(SparseVector, Empty) {
10
SparseVector<double> x(2);
11
// x is empty: its size (number of elements) is 0
12
ASSERT_EQ(x.size(), 0);
13
}
14
15
TEST(SparseVector, Size) {
16
const size_t capacity = 3;
Callers
nothing calls this directly
Calls
3
insert
Method · 0.80
clear
Method · 0.80
size
Method · 0.45
Tested by
no test coverage detected