def test_get_level_rr14l4(self): # Yes, this should return 0, since we don't have higher rank rr = RealmRanks("14L4") self.assertEqual(rr.get_level(), 0)
def test_get_level_rr2l9(self): rr = RealmRanks("2L9") self.assertEqual(rr.get_level(), 9)
def test_get_level_rr6l0(self): rr = RealmRanks("6L0") self.assertEqual(rr.get_level(), 0)
def test_get_level_rr1l5(self): rr = RealmRanks("1L5") self.assertEqual(rr.get_level(), 5)