diff options
Diffstat (limited to 'prolog/problems/family_relations/father_2')
-rw-r--r-- | prolog/problems/family_relations/father_2/common.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/prolog/problems/family_relations/father_2/common.py b/prolog/problems/family_relations/father_2/common.py index 1643066..50ac701 100644 --- a/prolog/problems/family_relations/father_2/common.py +++ b/prolog/problems/family_relations/father_2/common.py @@ -29,7 +29,17 @@ hint_type = { } test_cases = [ - # TODO + ('father(X, _)', + [{'X': 'aleksander'}, {'X': 'aleksandr'}, {'X': 'andrew'}, {'X': 'frank'}, + {'X': 'george'}, {'X': 'jerry'}, {'X': 'john'}, {'X': 'morty'}, + {'X': 'patrick'}, {'X': 'thomas'}, {'X': 'william'}]), + ('father(_, X)', + [{'X': 'aleksander'}, {'X': 'anna'}, {'X': 'daniela'}, {'X': 'george'}, + {'X': 'jeffrey'}, {'X': 'jerry'}, {'X': 'joanne'}, {'X': 'kramer'}, + {'X': 'luana'}, {'X': 'michael'}, {'X': 'michelle'}, {'X': 'patricia'}, + {'X': 'sally'}, {'X': 'susan'}, {'X': 'vanessa'}, {'X': 'william'}]), + ('father(X, aleksander)', + [{'X': 'aleksandr'}]), ] def test(program, solved_problems): |