mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Can now use [stats]
unique to add happiness globally
This commit is contained in:
@ -46,6 +46,13 @@ class GlobalUniquesTests {
|
||||
Assert.assertTrue(civInfo.statsForNextTurn.equals(Stats(gold=2f)))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun statsHappinessNotOnBuilding() {
|
||||
val civInfo = game.addCiv("[+7 Happiness]")
|
||||
civInfo.updateStatsForNextTurn()
|
||||
Assert.assertTrue(civInfo.happinessForNextTurn == civInfo.getDifficulty().baseHappiness + 7)
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun statsPerCity() {
|
||||
|
Reference in New Issue
Block a user