From 76aff48b34c8d3208af2c37c3781e13c66b4e1bc Mon Sep 17 00:00:00 2001 From: Pascal Lais Date: Tue, 10 Mar 2020 12:10:52 +0100 Subject: [PATCH] Add test_point.py --- test_point.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test_point.py diff --git a/test_point.py b/test_point.py new file mode 100644 index 0000000..72b9b14 --- /dev/null +++ b/test_point.py @@ -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 \ No newline at end of file