Skip to content

Commit 7a5fca2

Browse files
meisterTvmcj
andauthored
Update webapp/tests/Unit/Service/ScoreboardServiceTest.php
Co-authored-by: MCJ Vasseur <[email protected]>
1 parent b8ea0e2 commit 7a5fca2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

webapp/tests/Unit/Service/ScoreboardServiceTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,13 @@ public function testOneTeamEmpty(): void
125125
self::assertTrue($teamA < $teamB);
126126
}
127127

128+
public function testOneTeamSolvedMore(): void
129+
{
130+
$teamA = ScoreboardService::getICPCScoreKey(1, 333, 210);
131+
$teamB = ScoreboardService::getICPCScoreKey(7, 666, 420);
132+
self::assertTrue($teamA < $teamB);
133+
}
134+
128135
public function testEqualExceptLast(): void
129136
{
130137
$teamA = ScoreboardService::getICPCScoreKey(7, 666, 420);

0 commit comments

Comments
 (0)