Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ AddTogether
Class
AddTogether
source/test/algorithm_test.cpp:82–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
80
};
81
82
struct AddTogether {
83
int operator()(int8_t& a, int64_t& b) {
84
return a + b;
85
}
86
};
87
88
TEST(TupleOperators, allTests) {
89
tuple<int8_t, int64_t> t1{3, 5};
Callers
1
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.68