Skip to content

Instantly share code, notes, and snippets.

@donbonifacio
Created May 28, 2016 14:20
Show Gist options
  • Save donbonifacio/bff32435a7d31484593e82cc9f583851 to your computer and use it in GitHub Desktop.
Save donbonifacio/bff32435a7d31484593e82cc9f583851 to your computer and use it in GitHub Desktop.
obb-rules[obb-spec]$ OBB_SCENARIOS_TO_TEST=0 lein with-profile clj run
Testing obb-rules.board-test
Testing obb-rules.actions.go-to-test
Testing obb-rules.actions.strikeback-test
Testing obb-rules.actions.damage-calculator-test
Testing obb-rules.stash-test
Testing obb-rules.actions.rebound-test
Testing obb-rules.element-test
Testing obb-rules.actions.attack-test
Testing obb-rules.simplifier-test
Testing obb-rules.ai.firingsquad-test
Running 0 firingsquad vs firingsquad
{:result true, :num-tests 0, :seed 1464445016692, :test-var "first-blood-check"}
Testing obb-rules.actions.auto-deploy-test
{:result true, :num-tests 0, :seed 1464445019768, :test-var "any-random-game-should-be-firing-squad-deployed"}
Testing obb-rules.actions.catapult-test
Testing obb-rules.privatize-test
Testing obb-rules.evaluator-test
{:result true, :num-tests 0, :seed 1464445019895, :test-var "any-random-deployable-game-should-be-evaluated"}
{:result true, :num-tests 0, :seed 1464445019897, :test-var "any-random-deployed-game-should-be-evaluated-by-value"}
Testing obb-rules.game-mode-test
Testing obb-rules.ai.common-test
Testing obb-rules.action-test
Testing obb-rules.actions.triple-attack-test
Testing obb-rules.actions.bonus-test
Testing obb-rules.game-test
Testing obb-rules.ai.acts-as-bot-test
Testing obb-rules.ai.alamo-test
Running 0 alamo vs alamo
Testing obb-rules.env-test
Testing obb-rules.actions.rotate-test
Testing obb-rules.serializer.reader-test
{:result true, :num-tests 0, :seed 1464445036413, :test-var "first-blood-game-reload"}
Testing obb-rules.translator-test
Testing obb-rules.unit-test
Testing obb-rules.serializer.writer-test
Testing obb-rules.actions.direction-test
Testing obb-rules.actions.deploy-test
Testing obb-rules.actions.move-test
| :test | :elapsed |
|--------------------------------------------------------------------------------------+-------------|
| #'obb-rules.privatize-test/privatize-dont-do-p2-state | 0.146 |
| #'obb-rules.privatize-test/privatize-dont-do-final-state | 0.153877 |
| #'obb-rules.unit-test/existing-unit-types | 0.176914 |
| #'obb-rules.privatize-test/privatize-dont-do-p1-state | 0.179861 |
| #'obb-rules.serializer.reader-test/attrs-reader | 0.182392 |
| #'obb-rules.simplifier-test/simplify-unit-already-simplified | 0.192347 |
| #'obb-rules.env-test/env | 0.211223 |
| #'obb-rules.game-test/stash-updating | 0.223944 |
| #'obb-rules.ai.alamo-test/alamo-vs-alamo | 0.236819 |
| #'obb-rules.simplifier-test/clean-action-results | 0.251364 |
| #'obb-rules.actions.attack-test/attack-emtpy-target | 0.264796 |
| #'obb-rules.serializer.writer-test/actions-serializer | 0.28064 |
| #'obb-rules.stash-test/stash-creation | 0.302428 |
| #'obb-rules.serializer.writer-test/add-stash-to-props-if-deploy-state | 0.316684 |
| #'obb-rules.serializer.reader-test/build-stash | 0.371226 |
| #'obb-rules.ai.common-test/option-value-cost-sorter | 0.404091 |
| #'obb-rules.privatize-test/privatize-hides-elements-handles-nil | 0.442058 |
| #'obb-rules.serializer.reader-test/build-stash-from-str | 0.460783 |
| #'obb-rules.serializer.reader-test/actions-reader | 0.470183 |
| #'obb-rules.privatize-test/privatize-hides-elements | 0.519704 |
| #'obb-rules.actions.go-to-test/out-of-bounds | 0.524673 |
| #'obb-rules.actions.deploy-test/analyse | 0.57957 |
| #'obb-rules.actions.deploy-test/test-fail-p2-position | 0.631497 |
| #'obb-rules.actions.deploy-test/test-fail-stash-from-another-player | 0.634551 |
| #'obb-rules.stash-test/adding-units | 0.641663 |
| #'obb-rules.simplifier-test/simplify-unit | 0.673751 |
| #'obb-rules.actions.deploy-test/test-fail-invalid-quantity | 0.69697 |
| #'obb-rules.actions.move-test/cost | 0.716683 |
| #'obb-rules.translator-test/translate-actions-test | 0.72392 |
| #'obb-rules.actions.deploy-test/test-strings-for-keywords | 0.750123 |
| #'obb-rules.ai.common-test/get-empty-attack-options | 0.755272 |
| #'obb-rules.actions.go-to-test/fails-if-invalid-from | 0.79174 |
| #'obb-rules.actions.deploy-test/test-fail-p1-position | 0.8127 |
| #'obb-rules.simplifier-test/build-unit | 0.814662 |
| #'obb-rules.serializer.reader-test/deploy-per-player | 0.829318 |
| #'obb-rules.actions.auto-deploy-test/any-random-game-should-be-firing-squad-deployed | 0.850955 |
| #'obb-rules.serializer.reader-test/raww-history-reader | 0.852604 |
| #'obb-rules.actions.bonus-test/nova-base-attack-on-organic | 0.862674 |
| #'obb-rules.actions.bonus-test/kahuna-base-defense-on-ground-2 | 0.867826 |
| #'obb-rules.actions.bonus-test/anubis-base-defense-on-heavy | 0.870875 |
| #'obb-rules.actions.go-to-test/coordinate-empty | 0.872961 |
| #'obb-rules.serializer.reader-test/first-blood-game-reload | 0.89939 |
| #'obb-rules.serializer.writer-test/add-stash-to-props-if-player-2-deployed | 0.906648 |
| #'obb-rules.actions.rotate-test/consider-player-name | 0.936948 |
| #'obb-rules.actions.bonus-test/rain-no-damage-on-medium | 0.964963 |
| #'obb-rules.actions.move-test/find-all-possible-destinations-crusader | 0.970781 |
| #'obb-rules.actions.bonus-test/kahuna-base-attack-on-ground | 1.031842 |
| #'obb-rules.simplifier-test/build-coordinate-keys | 1.049495 |
| #'obb-rules.serializer.writer-test/add-stash-to-props-if-player-1-deployed | 1.069365 |
| #'obb-rules.simplifier-test/build-unit-inner | 1.080919 |
| #'obb-rules.actions.direction-test/clockwise | 1.082449 |
| #'obb-rules.board-test/default-board-size | 1.085622 |
| #'obb-rules.evaluator-test/considers-elements | 1.09643 |
| #'obb-rules.actions.deploy-test/basic-deploy | 1.10997 |
| #'obb-rules.ai.firingsquad-test/firingsquad-vs-firingsquad | 1.127005 |
| #'obb-rules.actions.move-test/should-support-key-string-on-player | 1.168168 |
| #'obb-rules.actions.move-test/find-all-possible-destinations-with-cost-crusader | 1.189161 |
| #'obb-rules.actions.deploy-test/fail-if-no-stash | 1.204045 |
| #'obb-rules.actions.bonus-test/rain-damage-on-heavy | 1.262376 |
| #'obb-rules.simplifier-test/clean-results | 1.288038 |
| #'obb-rules.actions.move-test/allow-default-quantity | 1.307705 |
| #'obb-rules.actions.direction-test/other | 1.318492 |
| #'obb-rules.actions.move-test/move-using-previous-occupied-space | 1.333019 |
| #'obb-rules.simplifier-test/name= | 1.367993 |
| #'obb-rules.actions.go-to-test/target-coordinate-is-from-another-player | 1.45431 |
| #'obb-rules.actions.bonus-test/boozer-base-attack-on-ground | 1.490951 |
| #'obb-rules.privatize-test/privatize-hides-elements-except-p1 | 1.493478 |
| #'obb-rules.actions.bonus-test/kahuna-base-defense-on-ground | 1.513573 |
| #'obb-rules.actions.bonus-test/kahuna-base-defense-on-air | 1.546197 |
| #'obb-rules.actions.direction-test/facing | 1.557627 |
| #'obb-rules.simplifier-test/simplify-unit-inner | 1.559889 |
| #'obb-rules.actions.direction-test/perpendicular-vert | 1.657798 |
| #'obb-rules.actions.bonus-test/anubis-base-defense-on-medium | 1.662896 |
| #'obb-rules.actions.attack-test/attack-player-not-owned | 1.666596 |
| #'obb-rules.translator-test/translate-element-test | 1.694453 |
| #'obb-rules.actions.attack-test/attack-simple-success | 1.743329 |
| #'obb-rules.game-test/ensure-fail-with-failed-action-result | 1.744423 |
| #'obb-rules.actions.bonus-test/boozer-base-attack-on-air | 1.788567 |
| #'obb-rules.actions.go-to-test/target-coordinate-is-another-unit | 1.803232 |
| #'obb-rules.ai.common-test/get-no-attack-options | 1.856741 |
| #'obb-rules.actions.attack-test/attack-obstacle | 1.888398 |
| #'obb-rules.actions.direction-test/perpendicular-horiz | 1.902561 |
| #'obb-rules.privatize-test/privatize-hides-elements-except-p2 | 1.912269 |
| #'obb-rules.evaluator-test/any-random-deployable-game-should-be-evaluated | 1.92948 |
| #'obb-rules.actions.move-test/move-using-destroyed-space | 1.956411 |
| #'obb-rules.actions.attack-test/attack-out-of-range-target | 1.963322 |
| #'obb-rules.simplifier-test/coordenize-test | 2.020126 |
| #'obb-rules.serializer.reader-test/just-player-2-deployed | 2.184264 |
| #'obb-rules.game-mode-test/supernova-on-new-game | 2.267978 |
| #'obb-rules.evaluator-test/any-random-deployed-game-should-be-evaluated-by-value | 2.275448 |
| #'obb-rules.actions.go-to-test/completely-blocked | 2.291886 |
| #'obb-rules.stash-test/stash-retrieve-indifferent-access | 2.310858 |
| #'obb-rules.stash-test/stash-indifferent-access | 2.414774 |
| #'obb-rules.actions.deploy-test/test-direction | 2.42497 |
| #'obb-rules.actions.attack-test/attack-same-player-target | 2.57857 |
| #'obb-rules.privatize-test/privatize-hides-all | 2.641057 |
| #'obb-rules.actions.triple-attack-test/attack-driller-direct | 2.694012 |
| #'obb-rules.game-mode-test/annihilation-winner | 2.736105 |
| #'obb-rules.actions.move-test/find-all-possible-destinations-pretorian | 2.807256 |
| #'obb-rules.serializer.writer-test/complete-game | 2.861386 |
| #'obb-rules.translator-test/translate-board-test | 2.919271 |
| #'obb-rules.actions.go-to-test/coordinate-is-from-another-player | 3.001915 |
| #'obb-rules.serializer.reader-test/game-ready-to-start | 3.094167 |
| #'obb-rules.actions.catapult-test/attack-catapult-interval | 3.107312 |
| #'obb-rules.actions.attack-test/attack-player-name-resolution | 3.149288 |
| #'obb-rules.translator-test/translate-direction-test | 3.150478 |
| #'obb-rules.evaluator-test/considers-stash | 3.234376 |
| #'obb-rules.game-mode-test/supernova-winner | 3.255176 |
| #'obb-rules.board-test/player-elements-sequence | 3.258219 |
| #'obb-rules.actions.catapult-test/attack-catapult | 3.310088 |
| #'obb-rules.translator-test/translate-action-test | 3.520011 |
| #'obb-rules.serializer.reader-test/just-player-1-deployed | 3.560187 |
| #'obb-rules.ai.common-test/find-possible-attacks-tes | 3.647194 |
| #'obb-rules.actions.triple-attack-test/attack-driller-friendly | 3.743447 |
| #'obb-rules.actions.catapult-test/attack-catapult-direct | 3.827596 |
| #'obb-rules.board-test/in-bounds | 3.920474 |
| #'obb-rules.serializer.writer-test/action-serializer | 3.927172 |
| #'obb-rules.actions.move-test/partial-movement | 3.979094 |
| #'obb-rules.actions.attack-test/attack-in-range-target | 3.992518 |
| #'obb-rules.actions.attack-test/attack-int-destroyed | 4.1778 |
| #'obb-rules.ai.common-test/get-direct-attack-options | 4.456296 |
| #'obb-rules.serializer.reader-test/not-complete-game | 4.528981 |
| #'obb-rules.translator-test/translate-coordinate-test | 4.681985 |
| #'obb-rules.actions.attack-test/attack-freeze | 4.762981 |
| #'obb-rules.stash-test/stash-access | 4.810245 |
| #'obb-rules.actions.rotate-test/rotate | 4.863876 |
| #'obb-rules.actions.damage-calculator-test/test-crusader-attack | 4.89753 |
| #'obb-rules.board-test/adjacent | 5.02393 |
| #'obb-rules.actions.damage-calculator-test/test-rain-attack | 5.352706 |
| #'obb-rules.actions.auto-deploy-test/fails-if-no-template | 5.409088 |
| #'obb-rules.actions.strikeback-test/strikeback-on-the-side | 5.473542 |
| #'obb-rules.actions.go-to-test/completely-blocked-with-interval | 5.539089 |
| #'obb-rules.actions.auto-deploy-test/fails-if-no-stash | 5.604151 |
| #'obb-rules.serializer.reader-test/complete-game | 5.681844 |
| #'obb-rules.actions.rebound-test/attack-fenix-direct | 5.681885 |
| #'obb-rules.serializer.reader-test/action-reader | 6.034248 |
| #'obb-rules.actions.strikeback-test/strikeback-catapult | 6.365408 |
| #'obb-rules.actions.strikeback-test/strikeback-out-of-range-bug-23 | 6.382512 |
| #'obb-rules.board-test/element-focus-test | 6.417988 |
| #'obb-rules.actions.strikeback-test/strikeback-out-of-range | 6.437776 |
| #'obb-rules.game-test/ensure-max-action-points | 6.58614 |
| #'obb-rules.actions.auto-deploy-test/fails-if-not-deploy-state | 6.80227 |
| #'obb-rules.actions.go-to-test/resolve-to-go-to-even-if-adjacent | 6.933302 |
| #'obb-rules.actions.move-test/find-all-possible-destinations-with-cost-pretorian | 6.950149 |
| #'obb-rules.actions.triple-attack-test/attack-driller-triple | 7.578139 |
| #'obb-rules.board-test/presence-of-an-unit | 7.67441 |
| #'obb-rules.action-test/load-actions | 7.886978 |
| #'obb-rules.actions.move-test/front-movement-west | 7.974839 |
| #'obb-rules.game-test/create-game | 8.07144 |
| #'obb-rules.actions.move-test/front-movement-east | 8.114697 |
| #'obb-rules.actions.triple-attack-test/attack-driller-triple-partial | 8.227608 |
| #'obb-rules.actions.move-test/front-movement-north | 8.892727 |
| #'obb-rules.ai.common-test/get-distance-attack-options | 8.912549 |
| #'obb-rules.actions.attack-test/attack-hitpoints | 8.927869 |
| #'obb-rules.actions.move-test/front-movement-south | 8.975601 |
| #'obb-rules.evaluator-test/yields-zero-when-no-elements | 9.087436 |
| #'obb-rules.element-test/element | 9.094663 |
| #'obb-rules.ai.common-test/get-attack-options-catapult-obstacles | 9.306539 |
| #'obb-rules.actions.strikeback-test/strikeback-remaining-units | 9.378463 |
| #'obb-rules.actions.auto-deploy-test/test-check-fail-2 | 9.7779 |
| #'obb-rules.actions.auto-deploy-test/auto-deploy-history | 9.9808 |
| #'obb-rules.actions.auto-deploy-test/test-check-fail-1 | 10.246935 |
| #'obb-rules.actions.attack-test/attack-using-destroyed-space | 10.530172 |
| #'obb-rules.simplifier-test/clean-coordinate-keys | 11.562821 |
| #'obb-rules.actions.go-to-test/simple-coords-move-direct-obstacle | 11.908198 |
| #'obb-rules.game-test/complete-game-processing | 12.349037 |
| #'obb-rules.unit-test/units-by-category-test | 12.592328 |
| #'obb-rules.stash-test/random-stash-test | 12.694544 |
| #'obb-rules.actions.move-test/generic-movement | 12.99245 |
| #'obb-rules.actions.rebound-test/attack-fenix-rebound | 13.042535 |
| #'obb-rules.actions.strikeback-test/strikeback-direct | 13.04338 |
| #'obb-rules.serializer.reader-test/allow-white-spaces | 13.079008 |
| #'obb-rules.ai.alamo-test/deploy-choice | 14.173067 |
| #'obb-rules.actions.go-to-test/simple-coords-move-diagonal | 14.570073 |
| #'obb-rules.actions.auto-deploy-test/smoke-success-str | 14.607702 |
| #'obb-rules.ai.firingsquad-test/deploy-choice | 15.161381 |
| #'obb-rules.ai.firingsquad-test/first-blood-check | 15.255026 |
| #'obb-rules.unit-test/verify-units | 15.445718 |
| #'obb-rules.actions.go-to-test/simple-coords-move-3-obstacles | 15.64274 |
| #'obb-rules.board-test/board | 17.024011 |
| #'obb-rules.actions.move-test/normal-movement | 17.404607 |
| #'obb-rules.actions.damage-calculator-test/range-factor | 19.924397 |
| #'obb-rules.actions.go-to-test/fail-if-moves-too-far-away | 20.519134 |
| #'obb-rules.actions.move-test/diagonal-movement | 20.811461 |
| #'obb-rules.actions.auto-deploy-test/auto-deploying-in-supernova | 22.677828 |
| #'obb-rules.actions.move-test/all-movement | 22.690527 |
| #'obb-rules.actions.go-to-test/force-try-other-destination-than-best | 24.747116 |
| #'obb-rules.actions.auto-deploy-test/smoke-success-sym | 29.589752 |
| #'obb-rules.actions.go-to-test/simple-coords-move | 90.131378 |
| #'obb-rules.ai.firingsquad-test/complete-game | 112.105697 |
| #'obb-rules.actions.move-test/find-all-possible-destinations-rain | 130.935191 |
| #'obb-rules.ai.firingsquad-test/chooses-firing-round | 183.105428 |
| #'obb-rules.ai.firingsquad-test/rotate-attack | 312.93431 |
| #'obb-rules.actions.move-test/find-all-possible-destinations-with-cost-rain | 317.023748 |
| #'obb-rules.ai.firingsquad-test/first-blood | 331.575548 |
| #'obb-rules.ai.firingsquad-test/prefer-rotate-attack | 341.171747 |
| #'obb-rules.ai.firingsquad-test/move-and-attack | 349.729651 |
| #'obb-rules.ai.firingsquad-test/prefer-the-star | 398.309364 |
| #'obb-rules.ai.alamo-test/seek-and-destroy | 526.638017 |
| #'obb-rules.ai.alamo-test/chooses-the-most-defensive-option | 538.342486 |
| #'obb-rules.ai.alamo-test/move-and-attack | 538.354862 |
| #'obb-rules.ai.firingsquad-test/direct-attack | 564.913397 |
| #'obb-rules.ai.alamo-test/rotate-attack | 594.939965 |
| #'obb-rules.ai.firingsquad-test/direct-attack-double | 639.499343 |
| #'obb-rules.ai.alamo-test/direct-attack | 656.596197 |
| #'obb-rules.ai.firingsquad-test/seek-and-destroy | 763.791914 |
| #'obb-rules.ai.alamo-test/prefer-the-star | 2326.686011 |
| #'obb-rules.ai.alamo-test/first-blood | 3112.955146 |
| #'obb-rules.ai.alamo-test/prefer-rotate-attack | 3320.23669 |
| #'obb-rules.ai.alamo-test/direct-attack-double | 4733.370021 |
Average: 103 msecs, median: 3
Ran 210 tests containing 1095 assertions.
0 failures, 0 errors.
"Elapsed time: 21877.833157 msecs"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment