MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / checkWith

Method checkWith

tests/framework/src/doctest.cpp:716–718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714Contains::Contains(const String& str) : string(str) { }
715
716bool Contains::checkWith(const String& other) const {
717 return strstr(other.c_str(), string.c_str()) != nullptr;
718}
719
720String toString(const Contains& in) {
721 return "Contains( " + in.string + " )";

Callers 2

operator==Function · 0.80
operator!=Function · 0.80

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected