programming-formalisms / programming_formalisms_project_autumn_2023

The Programming Formalisms learners project of autumn 2023
https://github.com/UPPMAX/programming_formalisms
GNU General Public License v3.0
0 stars 1 forks source link

Create Coordinate #32

Closed pontushojer closed 11 months ago

pontushojer commented 11 months ago

In the class list, the class in the title is mentioned. Create it!

Procedure

"""A duck."""

class Duck:

    """Duck is a duck."""
"""Tests all function in src.pf_example.duck."""
import unittest

from src.pf_example.duck import (
    Duck,
)

class TestDuck(unittest.TestCase):

    """Class to test the code in src.pf_example.duck."""

    def test_can_create_params(self):
        """#[issue_number]: Can create a Duck."""
        Duck()

The test is that it works, not that it does anything useful.

Use the workflow that fits you best, ideally use a topic branch for this issue and merge to develop using a PR with code review.