Java


I need a test case for the following programming code 

* Click nofs://nbhost/SystemFileSystem/Templates/

Licenses/license-default.txt to change this license

* Click nofs://nbhost/SystemFileSystem/Templates/

Classes/Class.java to edit this template

package poker;

import java.util.ArrayList;

import java.util.*.

* Click nbfs://nbhost/SystemFileSystem/Templates/

Licenses/license-default.txt to change this license

* Click nofs://nbhost/SystemFileSystem/Templates/

Classes/Class.java to edit this template

/**

* @author adamt

public class Deck {

private ArrayList<Card> deck = new ArrayList<Card>O);

public Deck(){

ArrayList<Card> deck = new ArrayList<Card>();

for(int i=0;i<=3;i++){

for(int j=0;j<13:j++){

cdeck.add(new Card (ij));

3

deck=cdeck:

public void printAllCards){

for(int i=0;i<deck.size();i++){

System.out.println(deck.get(i).toString());

}
public Card getCard(int i){

return deck.get(i);

}

public Card deal0f

return deck.remove(0):

public int countCards ()f

return deck.size();

public void shuffle )f

Collections.shuffle(deck,new Random());

?