def test_to_classical_plural(self): for adjective in self.adjectives: with self.subTest(): test_case = { "in": adjective, "out": adjective, "desc": f"Adjective({repr(adjective)}).classical().plural() => {repr(adjective)}", "kwargs": {} } adj = Adjective(test_case["in"]) self.assertEqual(adj.classical().plural(**test_case["kwargs"]), test_case["out"], test_case["desc"])
def test_classical(self): adj = Adjective("our") self.assertEqual( adj, adj.classical(), "Check whether Adjective(...) = Adjective(...).classical()")