Merge branch 'develop' into release/1.1.0
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-08 23:30:10 +01:00
2 changed files with 14 additions and 19 deletions

14
.drone.yml Normal file
View File

@@ -0,0 +1,14 @@
---
kind: pipeline
type: docker
name: Android
steps:
- name: build
image: mingc/android-build-box
commands:
- ./gradlew build
when:
event:
- push
- pull_request

View File

@@ -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)