Skip to content

Commit

Permalink
implementazione testing verify
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodidomenic committed Nov 20, 2023
1 parent a742dad commit 37b3183
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/test_verify.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from src.verify import f
import pytest
from pytest_mock import MockerFixture

k = [0,1,2,3,4,5,6]


def test_verify()->None:
#mocker.patch.object(verify,"insert_number",4)

output = f(k,4)
assert output is True
assert f(k,10) is False

0 comments on commit 37b3183

Please sign in to comment.