This commit is contained in:
@@ -33,25 +33,6 @@ class RoundUnitTest
|
||||
inputScoreB+=5
|
||||
}
|
||||
|
||||
// Team a +100 points for Tichu
|
||||
inputScoreA=125 + 100
|
||||
inputScoreB=-25
|
||||
|
||||
// Normal round range -25 to 125 as input
|
||||
while (inputScoreB <= 125)
|
||||
{
|
||||
temp=Round(inputScoreA , true)
|
||||
assertEquals(inputScoreB , temp.scoreB)
|
||||
assertTrue(temp.isValidRound())
|
||||
|
||||
temp=Round(inputScoreA , false)
|
||||
assertEquals(inputScoreB , temp.scoreA)
|
||||
assertTrue(temp.isValidRound())
|
||||
|
||||
inputScoreA-=5
|
||||
inputScoreB+=5
|
||||
}
|
||||
|
||||
// Double win
|
||||
temp=Round(200 , true)
|
||||
assertEquals(0 , temp.scoreB)
|
||||
|
||||
Reference in New Issue
Block a user