diff options
Diffstat (limited to 'aoc/test_init.py')
| -rw-r--r-- | aoc/test_init.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/aoc/test_init.py b/aoc/test_init.py new file mode 100644 index 0000000..e52daf7 --- /dev/null +++ b/aoc/test_init.py | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | # -*- coding: utf-8 -*- | ||
| 2 | def test_assignment_examples(assignment): | ||
| 3 | assert ( | ||
| 4 | assignment.run( | ||
| 5 | input=assignment.read_input(example=True), **assignment.example_kwargs | ||
| 6 | ) | ||
| 7 | == assignment.example_result | ||
| 8 | ) | ||
