I hereby claim:
- I am jeffallen on github.
- I am jeffallen (https://keybase.io/jeffallen) on keybase.
- I have a public key ASAJQAp_DWcopqslTaec-E_fV4kjVyXAVooPiF4xnc9PmQo
To claim this, I am signing this object:
import unittest | |
class TestPoint(unittest.TestCase): | |
def test_init(self): | |
"""Tests if the Point object is initialized correctly.""" | |
p = Point(1, 2) | |
self.assertEqual(p.x, 1) | |
self.assertEqual(p.y, 2) |
class Point: | |
""" | |
A class representing a point in 2D space. | |
""" | |
def __init__(self, x, y): | |
""" | |
Initializes a new Point object. | |
Args: |
I hereby claim:
To claim this, I am signing this object: