MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / sum

Method sum

extern/cloop/src/tests/test1/CppTest.cpp:181–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 }
180
181 virtual int sum(StatusWrapper* status, int n1, int n2) const
182 {
183 if (n1 + n2 > 1000)
184 throw CalcException(calc::IStatus::ERROR_1);
185 else
186 return n1 + n2;
187 }
188
189 virtual int getMemory() const
190 {

Callers 1

testFunction · 0.45

Calls 1

CalcExceptionClass · 0.85

Tested by

no test coverage detected