예제 #1
0
 def test_relative_rank_of_JJ_is_4(self):
     assert Two.relative_rank([Card(12, 1), Card(12, 2)]) == 4
예제 #2
0
 def test_relative_rank_of_KK_is_2(self):
     assert Two.relative_rank([Card(13, 1), Card(13, 2)]) == 2
예제 #3
0
 def test_relative_rank_of_QQ_is_3(self):
     assert Two.relative_rank([Card(12, 1), Card(12, 2)]) == 3
예제 #4
0
 def test_relative_rank_of_AA_is_1(self):
     assert Two.relative_rank([Card(14, 1), Card(14, 2)]) == 1