Add test_point.py
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-10 12:10:52 +01:00
parent 9627ae1309
commit 76aff48b34

8
test_point.py Normal file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/python3
import point
def test_init():
pnt = point.Point(10, 20)
assert pnt.get_x() == 10
assert pnt.get_y() == 20