def test_get_rank_rr15(self): # Yes, this should return 14, since we don't have higher rank rr = RealmRanks("15L6") self.assertEqual(rr.get_rank(), 14)
def test_get_rank_rr5(self): rr = RealmRanks("5L9") self.assertEqual(rr.get_rank(), 5)
def test_get_rank_rr14(self): rr = RealmRanks("14L0") self.assertEqual(rr.get_rank(), 14)
def test_get_rank_rr1(self): rr = RealmRanks("1L2") self.assertEqual(rr.get_rank(), 1)