We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27f8a9b commit 58bde1fCopy full SHA for 58bde1f
tests/test_flyweight.py
@@ -12,12 +12,18 @@ def test_instances_shall_reference_same_object(self):
12
self.assertEqual(c1, c2)
13
self.assertEqual(id(c1), id(c2))
14
15
- def test_instances_with_different_suit_shall_reference_different_objects(self):
+ def test_instances_with_different_suit(self):
16
+ """
17
+ shall reference different objects
18
19
c1 = Card('9', 'a')
20
c2 = Card('9', 'b')
21
self.assertNotEqual(id(c1), id(c2))
22
- def test_instances_with_different_values_shall_reference_different_objects(self):
23
+ def test_instances_with_different_values(self):
24
25
26
27
c1 = Card('9', 'h')
28
c2 = Card('A', 'h')
29
0 commit comments