Update readme.md
This commit is contained in:
@@ -10,8 +10,11 @@ if you want to contribute write tests like this:
|
|||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
#<!-- The Function the User needs to write -->
|
#<!-- The Function the User needs to write -->
|
||||||
def revstring(x):
|
# This is importantly commented out. The UnitTest tests this if uncommented.
|
||||||
return x[::-1]
|
# This is only here for reference
|
||||||
|
#
|
||||||
|
# def revstring(x):
|
||||||
|
# return x[::-1]
|
||||||
|
|
||||||
#<!-- This Test, test if the function works -->
|
#<!-- This Test, test if the function works -->
|
||||||
class TestSolution(unittest.TestCase):
|
class TestSolution(unittest.TestCase):
|
||||||
|
|||||||
Reference in New Issue
Block a user