MCPcopy Create free account
hub / github.com/davisking/dlib / func_testargs

Function func_testargs

dlib/test/invoke.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 static const std::string run1_str5 = "hello there 5";
48
49 void func_testargs(int i, std::string ref1, const std::string& ref2, const std::string& ref3, std::string& ref4)
50 {
51 DLIB_TEST(i > 0);
52 DLIB_TEST(ref1 == run1_str1);
53 DLIB_TEST(ref2 == run1_str2);
54 DLIB_TEST(ref3 == run1_str3);
55 DLIB_TEST(ref4 == run1_str4);
56 ref4 = run1_str5;
57 }
58
59 int func_return_addition(int i, int j)
60 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected