Skip to content

Commit

Permalink
Add type hints to test file for improved clarity and type checking
Browse files Browse the repository at this point in the history
  • Loading branch information
polischuks committed Feb 14, 2025
1 parent 93ec52f commit faac723
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/projects/go/coffee_machine/stage4/tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from typing import List

from hstest.stage_test import *
from hstest.test_case import TestCase
from hstest.check_result import CheckResult

CheckResult.correct = lambda: CheckResult(True, '')
CheckResult.wrong = lambda feedback: CheckResult(False, feedback)
Expand Down
3 changes: 3 additions & 0 deletions tests/projects/go/coffee_machine/stage5/tests.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from typing import List

from hstest.stage_test import *
from hstest.test_case import TestCase
from hstest.check_result import CheckResult

CheckResult.correct = lambda: CheckResult(True, '')
CheckResult.wrong = lambda feedback: CheckResult(False, feedback)
Expand Down

0 comments on commit faac723

Please sign in to comment.