Fixed: compilation errors
Added: line coverage improved
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user