summaryrefslogtreecommitdiffstats
path: root/day5/test_init.py
diff options
context:
space:
mode:
Diffstat (limited to 'day5/test_init.py')
-rw-r--r--day5/test_init.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/day5/test_init.py b/day5/test_init.py
new file mode 100644
index 0000000..5096a60
--- /dev/null
+++ b/day5/test_init.py
@@ -0,0 +1,15 @@
1from day5 import points_in_vector
2
3
4def test_points_in_vector():
5 assert points_in_vector(((1,1), (1,3))) == [
6 (1, 1), (1, 2), (1, 3)
7 ]
8
9 assert points_in_vector(((9,7), (7,7))) == [
10 (7, 7), (8, 7), (9, 7)
11 ]
12
13
14
15