Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
41 0 0 0 100% 0.395 s

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
de.aikiit.game.kaiser 41 0 0 0 100% 0.395 s

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

de.aikiit.game.kaiser

- Class Tests Errors Failures Skipped Success Rate Time
KaiserEngineCultivateTest 6 0 0 0 100% 0.018 s
KaiserEngineBuyLandTest 4 0 0 0 100% 0.008 s
KaiserEngineSellLandTest 4 0 0 0 100% 0.007 s
KaiserGameTest 7 0 0 0 100% 0.036 s
KaiserActionsTest 5 0 0 0 100% 0.090 s
KaiserEngineFeedToPopulationTest 4 0 0 0 100% 0.197 s
KaiserEnginePrinterTest 4 0 0 0 100% 0.008 s
KaiserEngineTest 7 0 0 0 100% 0.031 s

Test Cases

[Summary] [Package List] [Test Cases]

KaiserEngineCultivateTest

cultivateNegativeInputDoesNotChangeCost 0.001 s
youCanNotCultivateMoreThanYourArea 0.001 s
youNeedToHaveEnoughSupplies 0.004 s
cultivateZeroChangesCostForNextRound 0.001 s
cultivateRegularUseCaseAndSetPriceToOneAfterwards 0.003 s
youNeedWorkersForCultivation 0.001 s

KaiserEngineBuyLandTest

buyLandDoesNothingIfZeroIsGiven 0.001 s
buyLandRegularUseCaseAndSetPriceToZeroAfterwards 0.002 s
buyLandDoesNothingIfNegativeInputIsGiven 0.001 s
buyLandWithMoreThanCashAsArgumentInducesNoChanges 0.001 s

KaiserEngineSellLandTest

sellLandWithNotEnoughLandAsArgumentInducesNoChanges 0.002 s
sellLandRegularUseCaseAndSetPriceToZeroAfterwards 0.001 s
sellLandDoesNothingIfZeroIsGiven 0.002 s
sellLandDoesNothingIfNegativeValueIsGiven 0.001 s

KaiserGameTest

banner 0.002 s
finish 0.001 s
status 0.025 s
actionsWithMockedEngine 0.002 s
intro 0.001 s
runWithMockedEngine 0.002 s
byeByeBanner 0.002 s

KaiserActionsTest

buyWithZeroInputWillTriggerSell 0.076 s
buyWithPositiveInput 0.002 s
cultivate 0.004 s
feed 0.001 s
sell 0.002 s

KaiserEngineFeedToPopulationTest

feedToPopulationDoesNothingIfNegativeValueIsGiven 0.158 s
feedToPopulationWithNotEnoughSupplyAsArgumentInducesNoChanges 0.013 s
feedToPopulationDoesNothingIfZeroIsGiven 0.001 s
feedToPopulationRegularUseCaseAndSetPriceToOneAfterwards 0.001 s

KaiserEnginePrinterTest

evaluateRegency 0.002 s
getStatus 0.001 s
getYearResult 0.001 s
getResults 0.002 s

KaiserEngineTest

buyLandIgnoresNegativeInputAndChangesNothing 0.001 s
verifyThingsHappenOnConstructorDefaultsUponFirstRoundRestart 0.004 s
famineReducesPopulationDependingOnScaleFactorBeingBelowZero 0 s
calculateCostChangesPrice 0.001 s
getAreaPerCapita 0.001 s
verifyPostRoundActionsDoNotProduceErrors 0.019 s
noPopulationReductionIfScaleFactorIsTooBig 0 s