MCPcopy 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
82struct AddTogether {
83 int operator()(int8_t& a, int64_t& b) {
84 return a + b;
85 }
86};
87
88TEST(TupleOperators, allTests) {
89 tuple<int8_t, int64_t> t1{3, 5};

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68