Metadata-Version: 2.1
Name: edatest
Version: 0.0.3
Summary: This is a simple package used to run Edabit tests.
Home-page: https://gitlab.com/nicholas.walk/edatest
Author: Nicholas Walker
Author-email: nicholas.walk@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Edatest

This is a simple package used to run Edabit tests.

# How to use

**Import the package to your document**
```python
from edatest import Edatest
Test = Edatest()
```

**Write your code**
```python
def has_friday_13(month, year):
	return "answer here"
```

**Insert tests available in the tests tab in the Edabit challenge**
```python
Test.assert_equals(has_friday_13(3, 2020), True)
Test.assert_equals(has_friday_13(10, 2017), True)
Test.assert_equals(has_friday_13(1, 1985), False)
Test.assert_equals(has_friday_13(5, 1619), False)
Test.assert_equals(has_friday_13(6, 1614), True)
```

**Run your python script to test your code**
```bash
$ python edabit.py 
❌ FAILED: "answer here" should equal "True"
❌ FAILED: "answer here" should equal "True"
❌ FAILED: "answer here" should equal "False"
❌ FAILED: "answer here" should equal "False"
❌ FAILED: "answer here" should equal "True"
```

