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.398 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.398 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.010 s
KaiserEngineBuyLandTest 4 0 0 0 100% 0.006 s
KaiserEngineSellLandTest 4 0 0 0 100% 0.007 s
KaiserGameTest 7 0 0 0 100% 0.023 s
KaiserActionsTest 5 0 0 0 100% 0.049 s
KaiserEngineFeedToPopulationTest 4 0 0 0 100% 0.278 s
KaiserEnginePrinterTest 4 0 0 0 100% 0.009 s
KaiserEngineTest 7 0 0 0 100% 0.016 s

Test Cases

[Summary] [Package List] [Test Cases]

KaiserEngineCultivateTest

cultivateNegativeInputDoesNotChangeCost 0.001 s
youCanNotCultivateMoreThanYourArea 0.001 s
youNeedToHaveEnoughSupplies 0.001 s
cultivateZeroChangesCostForNextRound 0.001 s
cultivateRegularUseCaseAndSetPriceToOneAfterwards 0.001 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.001 s
sellLandRegularUseCaseAndSetPriceToZeroAfterwards 0.001 s
sellLandDoesNothingIfZeroIsGiven 0.001 s
sellLandDoesNothingIfNegativeValueIsGiven 0.001 s

KaiserGameTest

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

KaiserActionsTest

buyWithZeroInputWillTriggerSell 0.028 s
buyWithPositiveInput 0.004 s
cultivate 0.008 s
feed 0.002 s
sell 0.003 s

KaiserEngineFeedToPopulationTest

feedToPopulationDoesNothingIfNegativeValueIsGiven 0.239 s
feedToPopulationWithNotEnoughSupplyAsArgumentInducesNoChanges 0.011 s
feedToPopulationDoesNothingIfZeroIsGiven 0.001 s
feedToPopulationRegularUseCaseAndSetPriceToOneAfterwards 0.001 s

KaiserEnginePrinterTest

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

KaiserEngineTest

buyLandIgnoresNegativeInputAndChangesNothing 0.001 s
verifyThingsHappenOnConstructorDefaultsUponFirstRoundRestart 0.004 s
famineReducesPopulationDependingOnScaleFactorBeingBelowZero 0.001 s
calculateCostChangesPrice 0.001 s
getAreaPerCapita 0.002 s
verifyPostRoundActionsDoNotProduceErrors 0.004 s
noPopulationReductionIfScaleFactorIsTooBig 0.001 s