mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-05 08:58:02 +00:00
Fix #13, PEP8-ify notebooks.
This commit is contained in:
@@ -3,12 +3,13 @@ from nose.tools import assert_equal
|
||||
|
||||
class TestUniqueChars(object):
|
||||
|
||||
def test_unique_chars(self, func):
|
||||
def test_unique_chars(self, func):
|
||||
assert_equal(func(''), True)
|
||||
assert_equal(func('foo'), False)
|
||||
assert_equal(func('bar'), True)
|
||||
print('Success: test_unique_chars')
|
||||
|
||||
|
||||
def main():
|
||||
test = TestUniqueChars()
|
||||
test.test_unique_chars(unique_chars)
|
||||
@@ -19,6 +20,7 @@ def main():
|
||||
# Alternate solutions are only defined
|
||||
# in the solutions file
|
||||
pass
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user