MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / match

Method match

tests/catch.hpp:4073–4076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4071 StartsWith( NSString* substr ) : StringHolder( substr ){}
4072
4073 bool match( NSString* str ) const override {
4074 return (str != nil || m_substr == nil ) &&
4075 [str rangeOfString:m_substr].location == 0;
4076 }
4077
4078 std::string describe() const override {
4079 return "starts with: " + Catch::Detail::stringify( m_substr );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected