diff --git a/CompileTimeTest.py b/CompileTimeTest.py index d8eb9f7..971cda3 100755 --- a/CompileTimeTest.py +++ b/CompileTimeTest.py @@ -17,7 +17,8 @@ file = open(newFileName, "w") for line in fileinput.input(testFile): #replace SD() with a d.s. - line = line.replace("SD()", "SD(" + str(dataStructures[i]) + ", True)") + #line = line.replace("SD()", "SD(" + str(dataStructures[i]) + ", True)") + line = line.replace("SD()", "SD(True, " + str(dataStructures[i]) + ")") file.write(line) file.close() diff --git a/CompileTimeTest.py~ b/CompileTimeTest.py~ index d8eb9f7..d846f8b 100755 --- a/CompileTimeTest.py~ +++ b/CompileTimeTest.py~ @@ -17,7 +17,8 @@ for i in range(len(dataStructures)): #loop through dataStructures file = open(newFileName, "w") for line in fileinput.input(testFile): #replace SD() with a d.s. - line = line.replace("SD()", "SD(" + str(dataStructures[i]) + ", True)") + #line = line.replace("SD()", "SD(" + str(dataStructures[i]) + ", True)") + line = line.replace("SD()", "SD(True, " + str(dataStructures[i] + ")")) file.write(line) file.close() diff --git a/DS.pyc b/DS.pyc deleted file mode 100644 index bc58659..0000000 Binary files a/DS.pyc and /dev/null differ diff --git a/arr.pyc b/arr.pyc deleted file mode 100644 index d59e292..0000000 Binary files a/arr.pyc and /dev/null differ diff --git a/bst.pyc b/bst.pyc deleted file mode 100644 index b0fa01a..0000000 Binary files a/bst.pyc and /dev/null differ diff --git a/btree.pyc b/btree.pyc deleted file mode 100644 index d3d2a10..0000000 Binary files a/btree.pyc and /dev/null differ diff --git a/main.pyc b/main.pyc deleted file mode 100644 index 1a51db4..0000000 Binary files a/main.pyc and /dev/null differ diff --git a/maxheap.pyc b/maxheap.pyc deleted file mode 100644 index 8120870..0000000 Binary files a/maxheap.pyc and /dev/null differ diff --git a/minheap.pyc b/minheap.pyc deleted file mode 100644 index 09342dd..0000000 Binary files a/minheap.pyc and /dev/null differ diff --git a/sarr.pyc b/sarr.pyc deleted file mode 100644 index f862a60..0000000 Binary files a/sarr.pyc and /dev/null differ diff --git a/test_compile_0.py b/test_compile_0.py index b763e5b..7d2a5c3 100644 --- a/test_compile_0.py +++ b/test_compile_0.py @@ -21,5 +21,5 @@ def test(): print(str(s_data.get(0)) + " should be 0") -s_data = SD(0, True) +s_data = SD(True, 0) test() diff --git a/test_compile_1.py b/test_compile_1.py index 3019031..aad7a41 100644 --- a/test_compile_1.py +++ b/test_compile_1.py @@ -21,5 +21,5 @@ def test(): print(str(s_data.get(0)) + " should be 0") -s_data = SD(1, True) +s_data = SD(True, 1) test() diff --git a/test_compile_2.py b/test_compile_2.py index a40b404..f71b2c9 100644 --- a/test_compile_2.py +++ b/test_compile_2.py @@ -21,5 +21,5 @@ def test(): print(str(s_data.get(0)) + " should be 0") -s_data = SD(2, True) +s_data = SD(True, 2) test() diff --git a/test_compile_3.py b/test_compile_3.py index 2b02228..4778ea7 100644 --- a/test_compile_3.py +++ b/test_compile_3.py @@ -21,5 +21,5 @@ def test(): print(str(s_data.get(0)) + " should be 0") -s_data = SD(3, True) +s_data = SD(True, 3) test() diff --git a/test_compile_4.py b/test_compile_4.py index d169ef2..dd8887f 100644 --- a/test_compile_4.py +++ b/test_compile_4.py @@ -21,5 +21,5 @@ def test(): print(str(s_data.get(0)) + " should be 0") -s_data = SD(4, True) +s_data = SD(True, 4) test()