Permalink
Browse files

/!\ decreased test coverage!

...to demonstrate NMA email notification
  • Loading branch information...
bkimminich committed Jan 2, 2015
1 parent 2429255 commit b2213b083457c6f7ea4e2fa2034fdc504390555b
@@ -73,7 +73,7 @@ public void drawingACardShouldMoveOneCardFromDeckIntoHand() {
assertThat(player.getNumberOfHandCards(), is(equalTo(1)));
}
- @Test
+/* @Test
public void playerShouldTakeOneDamageWhenDrawingFromEmptyDeck() {
player = aPlayer().withHealth(30).withNoCardsInDeck().build();
@@ -129,7 +129,7 @@ public void playingCardCausesDamageToOpponent() {
player.playCard(aCardWithValue(2), opponent, DAMAGE);
assertThat(opponent.getHealth(), is(equalTo(25)));
- }
+ }*/
@Test
public void playerWithSufficientManaCanPlayCards() {
@@ -25,7 +25,7 @@ public void shouldMaximizeDamageOutputInCurrentTurn() {
assertThat(strategy.nextMove(withMana(8), andHealth(30), fromCards(7, 6, 4, 3, 2)), either(is(isAttackingWithCard(2))).or(is(isAttackingWithCard(6))));
}
- @Test
+/* @Test
public void shouldPlayAsManyCardsAsPossibleForMaximumDamage() {
assertThat(strategy.nextMove(withMana(3), andHealth(30), fromCards(1, 2, 3)), either(is(isAttackingWithCard(1))).or(is(isAttackingWithCard(2))));
}
@@ -40,7 +40,7 @@ public void shouldUseHealingUntilHealthIsAtLeast10() {
assertThat(strategy.nextMove(withMana(3), andHealth(8), fromCards(1, 1, 1)), isHealingWithCard(1));
assertThat(strategy.nextMove(withMana(2), andHealth(9), fromCards(1, 1)), isHealingWithCard(1));
assertThat(strategy.nextMove(withMana(1), andHealth(10), fromCards(1)), isAttackingWithCard(1));
- }
+ }*/
@Test
public void shouldReturnNoCardIfInsufficientManaForAnyHandCard() {
@@ -37,7 +37,7 @@ public void willRejectTooExpensiveCardsUntilAffordableCardIsChosen() {
assertThat(strategy.nextMove(withMana(6), andHealth(30), fromCards(6, 7, 8)), isAttackingWithCard(6));
}
- @Test
+/* @Test
public void willRejectCardsNotPresentInHandUntilHandCardIsChosen() {
player().enters("1").enters("2").enters("3").finished();
@@ -56,7 +56,7 @@ public void invalidInputWillBeRejectedUntilValidChoiceIsMade() {
player().enters("xxx").enters("§$%").enters("2").finished();
assertThat(strategy.nextMove(withMana(10), andHealth(30), fromCards(2)), isAttackingWithCard(2));
- }
+ }*/
private ConsoleInputBuilder player() {
return new ConsoleInputBuilder();

0 comments on commit b2213b0

Please sign in to comment.