Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boutproject/BOUT-dev
/ TEST_F
Function
TEST_F
tests/unit/include/bout/test_array.cxx:21–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
};
20
21
TEST_F(ArrayTest, ArraySize) {
22
Array<double> a(5);
23
24
ASSERT_FALSE(a.empty());
25
EXPECT_EQ(a.size(), 5);
26
EXPECT_TRUE(a.unique());
27
}
28
29
TEST_F(ArrayTest, ArrayValues) {
30
Array<double> a(10);
Callers
nothing calls this directly
Calls
3
swap
Function · 0.50
size
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected