Add test for str() for class Point
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-22 17:45:02 +01:00
parent f87e59f954
commit 55be8b1c68

View File

@@ -24,6 +24,7 @@ def test_set_coordinates():
assert pnt.get_x() == 321 assert pnt.get_x() == 321
pnt.set_y(456) pnt.set_y(456)
assert pnt.get_y() == 456 assert pnt.get_y() == 456
assert str(pnt) == "(321/456)"
def test_get_random(): def test_get_random():
"""Test setting random points""" """Test setting random points"""