This commit is contained in:
8
test_point.py
Normal file
8
test_point.py
Normal 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
|
||||||
Reference in New Issue
Block a user