CS50’s Introduction to Artificial Intelligence Test Scripts
cs50ai-test
This repository contains Python scripts to automate tests for most of the CS50’s Introduction to Artificial Intelligence with Python projects.
It does not contain any project solution/spoiler, as per the course’s Academic Honesty policy.
## How to Run Tests
Guide
- Make sure you have Python3 installed in your machine. Anything above
Python 3.4+should work. - Install
pytestby runningpip install pytestin a terminal. More information aboutpiphere. - Make a copy of the test file and paste it in the same folder as the project that you want to test.
For example, if you want to test your code for
degrees.py, make a copy ofdegrees_test.pyin the same folder as yourdegrees.pyand other files