I need to test a method that accepts list as parameters.
Method:
public void shuffleCards(List<Integer> data, List<Integer> frequency) {
Collections.shuffle(data);
Collections.shuffle(frequency);
}
Should i first create a list of data and frequency, and add values to them and then test or is there any onther way>
After testing i also need to create a table. My table looks like this. I am not sure if my table is correct either.
Aucun commentaire:
Enregistrer un commentaire