forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area-testingdebtCovers everything internal: CI, testing, refactoring of the codebase, etc.Covers everything internal: CI, testing, refactoring of the codebase, etc.needs PRReady to be worked onReady to be worked on
Description
add a test to confirm this scenario is correct. The IDs displayed for the given tests should be test_adding[test_adding], test_adding[2+V], and test_adding[6s+9]
@pytest.mark.parametrize(
"actual, expected",
[("3+2", 5), ("2+4", 6), ("6+9", 16)],
ids=["test_adding", "2+V", "6s+9"],
)
def test_adding(actual, expected):
assert eval(actual) == expected
Metadata
Metadata
Assignees
Labels
area-testingdebtCovers everything internal: CI, testing, refactoring of the codebase, etc.Covers everything internal: CI, testing, refactoring of the codebase, etc.needs PRReady to be worked onReady to be worked on