MCPcopy Create free account
hub / github.com/ddnet/ddnet / TEST_P

Function TEST_P

src/test/score_test.cpp:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129};
130
131TEST_P(SingleScore, TopRegional)
132{
133 g_Config.m_SvRegionalRankings = true;
134 ASSERT_TRUE(CScoreWorker::ShowTop(m_pConn, &m_PlayerRequest, m_aError, sizeof(m_aError))) << m_aError;
135 ExpectLines(m_pPlayerResult,
136 {"------------ Global Top ------------",
137 "1. nameless tee Time: 01:40.00",
138 "------------ GER Top ------------"});
139}
140
141TEST_P(SingleScore, Top)
142{

Callers

nothing calls this directly

Calls 6

str_lengthFunction · 0.85
MapInfoClass · 0.85
MapVoteClass · 0.85
RandomMapClass · 0.85
str_copyFunction · 0.50
AddPointsMethod · 0.45

Tested by

no test coverage detected