Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
78 0 0 0 100% 0.487 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 78 0 0 0 100% 0.487 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 11 0 0 0 100% 0.128 s
KaiserEngineBuyLandTest 5 0 0 0 100% 0.009 s
KaiserEngineSellLandTest 4 0 0 0 100% 0.005 s
KaiserGameTest 12 0 0 0 100% 0.074 s
KaiserActionsTest 4 0 0 0 100% 0.026 s
KaiserEngineFeedToPopulationTest 5 0 0 0 100% 0.161 s
KaiserEnginePrinterTest 18 0 0 0 100% 0.037 s
KaiserEngineTest 19 0 0 0 100% 0.047 s

Test Cases

[Summary] [Package List] [Test Cases]

KaiserEngineCultivateTest

exactWorkerCapacityIsRejectedButPlantingAllLandIsAllowed 0.002 s
onlyEvenRatRollsCauseDamage(double, String)[1] 0.018 s
onlyEvenRatRollsCauseDamage(double, String)[2] 0.001 s
onlyEvenRatRollsCauseDamage(double, String)[3] 0 s
onlyEvenRatRollsCauseDamage(double, String)[4] 0.001 s
onlyEvenRatRollsCauseDamage(double, String)[5] 0.001 s
negativeInputEndsGameWithoutHarvest 0 s
zeroStillCalculatesHarvestRatsAndImmigrationFactor 0.001 s
seedAndRatLossUseFloorNotRounding 0.001 s
exactSeedStockIsRejectedButZeroPlantingBypassesValidation 0.001 s
moreLandThanOwnedIsRejectedWithoutRandomDraws 0.001 s

KaiserEngineBuyLandTest

spendingExactlyAllStocksIsAllowed 0 s
unaffordablePurchaseChangesNothing 0.001 s
buyingUsesLandPriceNotHarvestYield 0.001 s
zeroChangesNothing 0 s
negativeInputEndsGame 0.002 s

KaiserEngineSellLandTest

zeroChangesNothing 0 s
negativeInputEndsGame 0 s
sellingUsesCurrentLandPrice 0 s
cannotSellAllLandOrMore 0.001 s

KaiserGameTest

startConfirmationCanStopBeforeFirstYear(String)[1] 0.008 s
startConfirmationCanStopBeforeFirstYear(String)[2] 0.001 s
startConfirmationCanStopBeforeFirstYear(String)[3] 0.001 s
tenActionYearsAreFollowedByEleventhReportAndThenEvaluation 0.028 s
finalReportStillAppliesImmigrationAndPlagueBeforeRating 0.004 s
replayResetsGameAndStartsWithoutCodePrompt 0.005 s
starvationEndsGameImmediatelyWithoutFinalTenYearEvaluation 0.002 s
negativeInputOrEofStopsRemainingActions(String)[1] 0.002 s
negativeInputOrEofStopsRemainingActions(String)[2] 0.001 s
negativeInputOrEofStopsRemainingActions(String)[3] 0.002 s
negativeInputOrEofStopsRemainingActions(String)[4] 0.002 s
negativeInputOrEofStopsRemainingActions(String)[5] 0.001 s

KaiserActionsTest

positivePurchaseSkipsSelling 0.012 s
sharedScannerPreservesAllFourActionsAndRetriesBadInput 0.005 s
basicDecimalInputsAreAcceptedAndIntOperationsStillFloor 0.002 s
negativeInputAndEndOfInputAbortInsteadOfRetryingForever 0.003 s

KaiserEngineFeedToPopulationTest

feedingStoresAllocationAndReducesStocks 0.129 s
insufficientStocksDoNotChangeState 0.004 s
zeroFoodIsAValidAllocation 0.001 s
allStocksCanBeDistributed 0.001 s
negativeInputEndsGame 0.003 s

KaiserEnginePrinterTest

landRatingUsesUnroundedRatios(int, Regency)[1] 0.003 s
landRatingUsesUnroundedRatios(int, Regency)[2] 0.001 s
landRatingUsesUnroundedRatios(int, Regency)[3] 0.001 s
landRatingUsesUnroundedRatios(int, Regency)[4] 0.001 s
landRatingUsesUnroundedRatios(int, Regency)[5] 0.001 s
landRatingUsesUnroundedRatios(int, Regency)[6] 0.001 s
reportDisplaysPreviousHarvestRatherThanLandPrice 0.001 s
allFourEvaluationMessagesAreReachable(int, String)[1] 0.002 s
allFourEvaluationMessagesAreReachable(int, String)[2] 0.001 s
allFourEvaluationMessagesAreReachable(int, String)[3] 0.001 s
allFourEvaluationMessagesAreReachable(int, String)[4] 0.001 s
starvationRatingThresholdsMatchBasic(int, Regency)[1] 0.001 s
starvationRatingThresholdsMatchBasic(int, Regency)[2] 0.001 s
starvationRatingThresholdsMatchBasic(int, Regency)[3] 0 s
starvationRatingThresholdsMatchBasic(int, Regency)[4] 0.001 s
starvationRatingThresholdsMatchBasic(int, Regency)[5] 0.001 s
starvationRatingThresholdsMatchBasic(int, Regency)[6] 0.001 s
starvationRatingThresholdsMatchBasic(int, Regency)[7] 0 s

KaiserEngineTest

dismissalRequiresMoreThanFortyFivePercent(long, GameState, String)[1] 0.003 s
dismissalRequiresMoreThanFortyFivePercent(long, GameState, String)[2] 0.002 s
dismissalRequiresMoreThanFortyFivePercent(long, GameState, String)[3] 0.001 s
overfeedingDoesNotIncreasePopulationAndSkipsDeathStatistics 0 s
initialReportMatchesBasicWithoutOverwritingHarvestOrRats 0.001 s
exactFeedingUpdatesAverageButOverfeedingLeavesItUntouched(long, String)[1] 0.003 s
exactFeedingUpdatesAverageButOverfeedingLeavesItUntouched(long, String)[2] 0.001 s
landPerPersonIsNotRoundedToWholeHectares 0.002 s
landPriceUsesBasicRange(double, String)[1] 0.002 s
landPriceUsesBasicRange(double, String)[2] 0.001 s
resetRestoresAllInitialState 0.001 s
deathPercentagesKeepFractionsAcrossYears 0.001 s
foodForJustUnderOneHundredPeopleSupportsOnlyNinetyNine 0.001 s
plagueIsRolledAtYearEndAndAppliedIncludingZero(double, int, boolean)[1] 0.003 s
plagueIsRolledAtYearEndAndAppliedIncludingZero(double, int, boolean)[2] 0.001 s
plagueIsRolledAtYearEndAndAppliedIncludingZero(double, int, boolean)[3] 0.001 s
plagueIsRolledAtYearEndAndAppliedIncludingZero(double, int, boolean)[4] 0.001 s
plagueIsRolledAtYearEndAndAppliedIncludingZero(double, int, boolean)[5] 0.001 s
feedingAndImmigrationFollowBasicTraceAndLandPersists 0.001 s