mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-01-07 18:08:01 +00:00
Fix #13, PEP8-ify notebooks.
This commit is contained in:
@@ -2,7 +2,7 @@ from nose.tools import assert_equal
|
||||
|
||||
|
||||
class TestRotation(object):
|
||||
|
||||
|
||||
def test_rotation(self):
|
||||
assert_equal(is_rotation('o', 'oo'), False)
|
||||
assert_equal(is_rotation(None, 'foo'), False)
|
||||
@@ -11,9 +11,11 @@ class TestRotation(object):
|
||||
assert_equal(is_rotation('foobarbaz', 'barbazfoo'), True)
|
||||
print('Success: test_rotation')
|
||||
|
||||
|
||||
def main():
|
||||
test = TestRotation()
|
||||
test.test_rotation()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user