MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / TEST_F

Function TEST_F

src/ConfigTest.cpp:234–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232};
233
234TEST_F(ConfigTest, Convert) {
235 const std::string converted = converter->Convert(std::string_view(input));
236 EXPECT_EQ(expected, converted);
237}
238
239TEST_F(ConfigTest, ConvertLength) {
240 const std::string result = converter->Convert(std::string_view(input));

Callers

nothing calls this directly

Calls 15

PathStringFunction · 0.85
WriteFileFunction · 0.85
SingleDictConfigFunction · 0.85
WriteStoredZipFunction · 0.85
InlineSingleStepConfigFunction · 0.85
NormalizePathStringFunction · 0.85
CaptureStderrFunction · 0.85
GetCapturedStderrFunction · 0.85
FindOcd2DictionaryDirFunction · 0.85
NewFromStringMethod · 0.80
ResolveMethod · 0.80
findMethod · 0.80

Tested by

no test coverage detected