Family Tree is a command line application that allows the user to view relationships of a family tree.
- Clone the repo
- to run
python main.py
(or by using your development environment), using python 3.11.0 or later - Follow the prompts
The family tree is created within the CreateTree loader function, create new people, set their parents and spouses in this function. The FamilyTree class should be able to take this data and iterate over it to retrieve the relationships such as siblings, children, parents, grandparents, etc.
To run the tests on the core functionality within the FamilyTree class, run the following command:
python -m unittest test_FamilyTree.py