Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
feat: Add tests for all functions in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Jan 4, 2024
1 parent 078d640 commit c756917
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import pytest
from uacp import main


def test_add_numbers():
assert main.add_numbers(1, 2) == 3
assert main.add_numbers(-1, -2) == -3
assert main.add_numbers(0, 0) == 0
assert main.add_numbers(1.5, 2.5) == 4.0
assert main.add_numbers(-1.5, -2.5) == -4.0

0 comments on commit c756917

Please sign in to comment.