public void Contains_CardIdInSet_ReturnTrue() { var cardsSetA = new CardsSet(new byte[] { 1, 7, 20 }); const int cardId = 7; Assert.True(cardsSetA.Contains(cardId)); }
public void Contains_CardIdOutOfSet_ReturnFalse() { var cardsSetA = new CardsSet(new byte[] { 2, 8, 16 }); const int cardId = 7; Assert.False(cardsSetA.Contains(cardId)); }
public void Contains_CardOutOfSet_ReturnFalse() { var cardsSetA = new CardsSet(new byte[] { 2, 8, 16 }); var card = new Card(7); Assert.False(cardsSetA.Contains(card)); }
public void Contains_CardInSet_ReturnTrue() { var cardsSetA = new CardsSet(new byte[] { 1, 7, 20 }); var card = new Card(7); Assert.True(cardsSetA.Contains(card)); }