# coding: utf-8

#$ header class Point(public)
#$ header method __init__(Point, double, double)
#$ header method __del__(Point)
#$ header method translate(Point, double, double)

class Point(object):
    def __init__(self, x, y):
        self.x = x
        self.y = y

    def __del__(self):
        pass

    def translate(self, a, b):
        self.x = self.x + a
        self.y = self.y + b

p = Point (0.0, 0.0)

p.translate(1.0, 2.0)

#print(p.x, p.y)
#a = p.x
#print(a)

del p

add new tests for oop