initial commit with 2024 materials
This commit is contained in:
commit
6fdfdbb8b7
66 changed files with 102457 additions and 0 deletions
19
hands_on/first/test_first.py
Normal file
19
hands_on/first/test_first.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
from first import times_3
|
||||
|
||||
|
||||
def test_times_3_integer():
|
||||
value = 7
|
||||
expected = 21
|
||||
|
||||
result = times_3(value)
|
||||
|
||||
assert result == expected
|
||||
|
||||
|
||||
def test_times_3_string():
|
||||
value = 'wow'
|
||||
expected = 'wowwowwow'
|
||||
|
||||
result = times_3(value)
|
||||
|
||||
assert result == expected
|
Loading…
Add table
Add a link
Reference in a new issue