-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests.txt
61 lines (49 loc) · 2.77 KB
/
tests.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Tableau piles in Ace's Up initially hold 1 card
AcesUpTableauStrategyTest#testGetInitialSetUp()
Ace's Up tableau pile method correctly determines if adding a specific card is legal or illegal.
AcesUpTableauStrategyTest#
testIsAddingLegal()
testIsAddingNullLegal()
Ace's Up tableau pile method correctly determines if removing a specific card is legal or illegal.
AcesUpTableauStrategyTest#
testIsRemovingToHomecellLegalWithNoEmptyPiles()
testIsRemovingToHomecellLegalWithEmptyPiles()
testIsRemovingToTableauLegalWithNoEmptyPiles()
testIsRemovingToTableauLegalWithEmptyPiles()
testIsRemovingEmptyLegal()
testIsRemovingLegalWithBadInputs()
Adding card to Ace's Up tableau pile increases its number of cards and results in that card being the tableau pile's new top card
(Baker's Dozen, Freecell and Ace's Up use the same method to add card so old test cases are used.)
BakersDozenGameTest#
testAddCardToTableauPiles()
Removing card from Ace's Up tableau pile decreases its number of cards and results in following card being the new top card
(Baker's Dozen, Freecell and Ace's Up use the same method to remove card so old test cases are used.)
BakersDozenGameTest#
testRemoveCardFromTableauPiles()
Homecell pile in Ace's Up initially holds 0 cards
AcesUpHomecellStrategyTest#
testGetInitialSetUp()
Ace's Up homecell pile correctly determines if adding a specific card is legal or illegal (e.g., always legal)
AcesUpHomecellStrategyTest#
testIsAddingLegal()
Ace's Up homecell pile correctly returns if removing top card is legal or illegal (e.g., always illegal)
HomecellStrategyTest#
testIsRemovingLegal()
Adding card to Ace's Up homecell pile increases its number of cards and results in that card being the homecell pile's new top card
(Baker's Dozen, Freecell and Ace's Up use the same method to add card so old test cases are used.)
BakersDozenGameTest#
testAddCardToHomecellPiles()
Ace's Up stock pile initially holds 48 cards
AcesUpStockStrategyTest#
testGetInitialSetUp()
testGetInitialSetUpWithBadInputs()
Ace's Up stock pile correctly returns if adding a specific card is legal or illegal (e.g., always illegal)
AcesUpStockStrategyTest#
testIsAddingLegal()
Ace's Up stock pile correctly returns if removing a specific card is legal or illegal (e.g., legal if the stock pile is not empty)
AcesUpStockStrategyTest#
testIsRemovingLegal()
testIsRemovingLegalWhenPileIsEmpty()
Dealing cards from Ace's Up stock pile removes the top 4 cards, adds the removed cards to the tableau piles, and results in the 5th card being the new top card
AcesUpStockStrategyTest#
testInvokeDefaultSpecialAction()