Skip to content

Create add_numbers(a: int, b: int) -> int with docstring and unittest #1

@Delqhi

Description

@Delqhi

Task: Python Function with Tests

Requirements

  • Function: add_numbers(a: int, b: int) -> int
  • Must include PEP 257 compliant docstring
  • Must include unittest with at least one test case using assertEqual

Acceptance Criteria

  • add_numbers.py contains function with correct signature and type hints
  • Docstring follows PEP 257 (triple quotes, summary, Args/Returns sections)
  • test_add_numbers.py contains unittest class with assertEqual tests
  • Tests pass when run with python -m unittest

References

Dispatch Target

SIN-Hermes → HF VM Coder Fleet

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions