Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct use of attack/defense power #2366

Merged
merged 1 commit into from
Sep 16, 2017

Conversation

simon33-2
Copy link
Contributor

Resolves test3 referred to in #1270

This code base uses a boolean parameter for to pick between attack and defence. Sometimes true = attack, sometimes true = defense! WTF! Anyway, this resolves a few instances of this problem in the removal of must die units code.

@codecov-io
Copy link

Codecov Report

Merging #2366 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2366   +/-   ##
=========================================
  Coverage     20.12%   20.12%           
  Complexity     5718     5718           
=========================================
  Files           822      822           
  Lines         73744    73744           
  Branches      12424    12426    +2     
=========================================
  Hits          14844    14844           
+ Misses        56845    56843    -2     
- Partials       2055     2057    +2
Impacted Files Coverage Δ Complexity Δ
...mes/strategy/triplea/delegate/MustFightBattle.java 62.55% <100%> (ø) 341 <0> (+2) ⬆️
...rategy/triplea/attachments/UnitTypeComparator.java 35.71% <0%> (-7.15%) 10% <0%> (-1%)
src/main/java/games/strategy/net/nio/Decoder.java 67.64% <0%> (-0.99%) 24% <0%> (-1%)
...tegy/triplea/oddsCalculator/ta/OddsCalculator.java 43.88% <0%> (-0.32%) 13% <0%> (ø)
...rc/main/java/games/strategy/net/nio/NioWriter.java 70.58% <0%> (+3.36%) 21% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 456cad7...ee0f24d. Read the comment docs.

@ron-murhammer ron-murhammer merged commit c0488eb into triplea-game:master Sep 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants