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

Function IsValidBookmark

libs/map/map_tests/bookmarks_test.cpp:320–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320bool IsValidBookmark(Framework & fm, m2::PointD const & pt)
321{
322 auto const * mark = GetMark(fm, pt);
323 return (mark != nullptr) && (mark->GetMarkType() == UserMark::BOOKMARK);
324}
325} // namespace
326
327UNIT_TEST(Bookmarks_Timestamp)

Callers 1

UNIT_TESTFunction · 0.85

Calls 2

GetMarkFunction · 0.85
GetMarkTypeMethod · 0.45

Tested by

no test coverage detected