def test_remove_trad_hsk_vocab_remove_lvl_3(self): simp_or_trad = 'trad' hsk_level = 3 self.assertEqual( len( zh_analyser.remove_hsk_vocab(self.hsk_trad_list, hsk_level, simp_or_trad)), 4400)
def test_remove_simp_hsk_vocab_remove_none(self): simp_or_trad = 'simp' hsk_level = 0 self.assertEqual( zh_analyser.remove_hsk_vocab(self.hsk_simp_list, hsk_level, simp_or_trad), self.hsk_simp_list)
def test_remove_trad_hsk_vocab_remove_all(self): simp_or_trad = 'trad' hsk_level = 6 self.assertEqual( zh_analyser.remove_hsk_vocab(self.hsk_trad_list, hsk_level, simp_or_trad), [])