Fixed: compilation errors

Added: line coverage improved
This commit is contained in:
2026-04-21 17:19:07 +02:00
parent 3a39676819
commit 5e5c4327f2
14 changed files with 185 additions and 6 deletions
@@ -13,7 +13,7 @@ public class Order2 extends OrderLogicCard {
* @param players the list of players associated with this order card.
* @throws NoSuchElementException if the number of players is not equal to 2.
*/
public Order2(ArrayList<Player> players)throws NoSuchElementException {
public Order2(ArrayList<Player> players) throws NoSuchElementException {
if(players.size()!=2)
throw new NoSuchElementException();
super(players);