Example #1
0
  def test_cardIndexToSuitWithScore(self):
    expected = (0, 14, 1)
    actual = CardList.cardIndexToSuitWithScorePlayerID(1, 1)
    self.assertEqual(expected, actual)

    expected = (0, 13, 1)
    actual = CardList.cardIndexToSuitWithScorePlayerID(13, 1)
    self.assertEqual(expected, actual)

    expected = (2, 13, 2)
    actual = CardList.cardIndexToSuitWithScorePlayerID(39, 2)
    self.assertEqual(expected, actual)