Changed discussions of NULL to None to be more Pythonic.

This commit is contained in:
Donne Martin
2015-07-06 05:44:06 -04:00
parent 29685c7b35
commit 47e6a23dde
11 changed files with 55 additions and 55 deletions

View File

@@ -2,14 +2,14 @@ from nose.tools import assert_equal
class TestHanoi(object):
def test_hanoi(self):
num_disks = 3
src = Stack()
buff = Stack()
dest = Stack()
print('Test: NULL towers')
print('Test: None towers')
hanoi(num_disks, None, None, None)
print('Test: 0 disks')
@@ -33,6 +33,6 @@ class TestHanoi(object):
def main():
test = TestHanoi()
test.test_hanoi()
if __name__ == '__main__':
main()