MCPcopy Create free account
hub / github.com/comaps/comaps / Accepts

Function Accepts

libs/base/base_tests/levenshtein_dfa_test.cpp:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74bool Accepts(LevenshteinDFA const & dfa, std::string const & s)
75{
76 return GetResult(dfa, s).m_status == Status::Accepts;
77}
78
79bool Rejects(LevenshteinDFA const & dfa, std::string const & s)
80{

Callers 4

IteratorClass · 0.85
RejectsMethod · 0.85
uni_string_dfa.cppFile · 0.85
UNIT_TESTFunction · 0.85

Calls 1

GetResultFunction · 0.85

Tested by

no test coverage detected