MCPcopy Create free account
hub / github.com/WallBreaker2/op / TEST_F

Function TEST_F

tests/ocr_test.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35} // namespace
36
37TEST_F(OcrFixture, SetDictAndUseDict) {
38 op.SetDict(0, L"../bin/miner/miner_num.dict", &ret);
39 cout << "SetDict(0, miner_num.dict): " << ret << endl;
40
41 op.UseDict(0, &ret);
42 cout << "UseDict(0): " << ret << endl;
43}
44
45TEST_F(OcrFixture, GetDictCount) {
46 op.SetDict(0, L"../bin/miner/miner_num.dict", &ret);

Callers

nothing calls this directly

Calls 15

GetGeneratedOcrBmpPathFunction · 0.85
CreateConsoleLikeBmpFunction · 0.85
ExpectHelloWorldDigitsFunction · 0.85
GetConfiguredOcrEndpointFunction · 0.85
SetDictMethod · 0.45
UseDictMethod · 0.45
GetDictCountMethod · 0.45
GetNowDictMethod · 0.45
GetDictMethod · 0.45
emptyMethod · 0.45
AddDictMethod · 0.45
ClearDictMethod · 0.45

Tested by

no test coverage detected