1
0
forked from tdwojak/Python2017
This commit is contained in:
Tomasz Dwojak 2017-12-02 12:11:29 +01:00
commit ba2d8c7e36
3 changed files with 9 additions and 4 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

View File

@ -13,7 +13,7 @@ def pokemon_speak(text):
def tests(f):
inputs = [['pokemon'], ['do not want'], 'POKEMON']
inputs = [['pokemon'], ['do not want'], ['POKEMON']]
outputs = ['PoKeMoN', 'Do nOt wAnT', 'POKEMON']
for input, output in zip(inputs, outputs):

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
@ -18,5 +18,4 @@ def tests(f):
break
return "TESTS PASSED"
if __name__ == "__main__":
print(tests(suma))