Skip to content

Commit db1cd2d

Browse files
author
Preston
committed
Updated Music Library Test
1 parent 3e0ba5c commit db1cd2d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

com/prestonsproductions/sourcecode/MusicLibrary2018/MusicLibrary2018.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ def main():
311311
print('QUESTION 9 OBJECTIVE A (5): '+str(getNumberOfMixTapes(library)))
312312

313313
print('QUESTION 10 OBJECTIVE A (5): '+str(getTheBestSong(library)))
314-
print('QUESTION 10 OBJECTIVE A (2): '+str(getTheBestSong(library)))
314+
print('QUESTION 10 OBJECTIVE B (2): '+str(getTheBestSong(library)))
315315

316316
print('QUESTION 11 OBJECTIVE A (5): '+str(getSpacesCount(library)))
317317
print('QUESTION 12 OBJECTIVE A (5): '+str(truncateSongTitle('down to the night Club')))

com/prestonsproductions/sourcecode/MusicLibrary2018/MusicLibrary2018A.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ def main():
399399
print('QUESTION 9 OBJECTIVE A (5): '+str(getNumberOfMixTapes(library))) # 3
400400

401401
print('QUESTION 10 OBJECTIVE A (5): '+str(getTheBestSong(library))) # ['On Top of the World 100.52631578947368', 'California 37 100.52631578947368'] or ['On Top of the World', 'California 37']
402-
print('QUESTION 10 OBJECTIVE A (2): '+str(getTheBestSong(library))) # ['On Top of the World 100.52631578947368', 'California 37 100.52631578947368']
402+
print('QUESTION 10 OBJECTIVE B (2): '+str(getTheBestSong(library))) # ['On Top of the World 100.52631578947368', 'California 37 100.52631578947368']
403403

404404
print('QUESTION 11 OBJECTIVE A (5): '+str(getSpacesCount(library))) # 37
405405
print('QUESTION 12 OBJECTIVE A (5): '+str(truncateSongTitle('down to the night Club'))) # down to the night Cl...
@@ -418,4 +418,4 @@ def main():
418418
print('QUESTION 19 OBJECTIVE C (2): '+'Check if previous function in file was called.')
419419
print('QUESTION 19 OBJECTIVE D (2): '+'Check if import statement was used.')
420420

421-
#main()
421+
main()

com/prestonsproductions/sourcecode/MusicLibrary2018/MusicLibrary2018Main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def main():
8484
print('QUESTION 9 OBJECTIVE A (5): '+str(ML.getNumberOfMixTapes(library))) # 3
8585

8686
print('QUESTION 10 OBJECTIVE A (5): '+str(ML.getTheBestSong(library))) # ['On Top of the World 100.52631578947368', 'California 37 100.52631578947368'] or ['On Top of the World', 'California 37']
87-
print('QUESTION 10 OBJECTIVE A (2): '+str(ML.getTheBestSong(library))) # ['On Top of the World 100.52631578947368', 'California 37 100.52631578947368']
87+
print('QUESTION 10 OBJECTIVE B (2): '+str(ML.getTheBestSong(library))) # ['On Top of the World 100.52631578947368', 'California 37 100.52631578947368']
8888

8989
print('QUESTION 11 OBJECTIVE A (5): '+str(ML.getSpacesCount(library))) # 37
9090
print('QUESTION 12 OBJECTIVE A (5): '+str(ML.truncateSongTitle('down to the night Club'))) # down to the night Cl...

0 commit comments

Comments
 (0)