Contact
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
| Download

📚 The CoCalc Library - books, templates and other resources

Views: 96166
License: OTHER
1
"""This file contains code for use with "Think Stats",
2
by Allen B. Downey, available from greenteapress.com
3
4
Copyright 2014 Allen B. Downey
5
License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html
6
"""
7
8
from __future__ import print_function, division
9
10
import unittest
11
from Card import Card, Deck
12
13
14
class Test(unittest.TestCase):
15
16
def testDeckRemove(self):
17
deck = Deck()
18
card23 = Card(2, 3)
19
deck.remove_card(card23)
20
21
22
if __name__ == "__main__":
23
unittest.main()
24
25