Test Point initialization.
(self)
| 9 | """Tests for the Point class.""" |
| 10 | |
| 11 | def test_point_creation(self) -> None: |
| 12 | """Test Point initialization.""" |
| 13 | p = Point(1.0, 2.0) |
| 14 | assert p.x == 1.0 |
| 15 | assert p.y == 2.0 |
| 16 | |
| 17 | def test_point_equality(self) -> None: |
| 18 | """Test Point equality comparison.""" |