(int slot)
| 81 | } |
| 82 | |
| 83 | public Optional<Card> getCard(int slot) { |
| 84 | if (slot >= 1 && slot <= 7) { |
| 85 | return cards[slot]; |
| 86 | } |
| 87 | return Optional.empty(); |
| 88 | } |
| 89 | |
| 90 | public void addCard(Card c, int slot) { |
| 91 | removeCard(slot); |
no outgoing calls
no test coverage detected