Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
naomod
Object-Oriented Software Analysis and Design (OOAD)
Projet 2020 - Not Alone
Commits
58b10d4d
Commit
58b10d4d
authored
Nov 27, 2020
by
Killian LUCAS
Browse files
Correction test Thomas
parent
14076775
Changes
1
Hide whitespace changes
Inline
Side-by-side
not-alone-server/src/test/java/fr/univnantes/alma/game/item/hand/DeckTest.java
View file @
58b10d4d
...
...
@@ -3,6 +3,7 @@ package fr.univnantes.alma.game.item.hand;
import
fr.univnantes.alma.game.item.card.Card
;
import
fr.univnantes.alma.game.item.card.PlaceCard
;
import
fr.univnantes.alma.game.item.card.PlayerCard
;
import
org.junit.jupiter.api.BeforeEach
;
import
org.junit.jupiter.api.Test
;
import
java.util.ArrayList
;
...
...
@@ -12,9 +13,18 @@ import static org.junit.jupiter.api.Assertions.*;
class
DeckTest
{
Deck
deck
=
new
Deck
(
6
);
PlayerCard
card
=
new
PlayerCard
(
"ID"
,
"Name"
,
"Description"
,
new
PowerContainer
(),
1
);
List
<
Card
>
cardList
=
new
ArrayList
<>();
Deck
deck
;
PlayerCard
card
;
List
<
Card
>
cardList
;
@BeforeEach
public
void
setUp
(){
deck
=
new
Deck
(
6
);
// card = new PlayerCard("ID", "Name", "Description", new PowerContainer(), 1);
//TODO
cardList
=
new
ArrayList
<>();
}
@Test
void
testAddCard
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment