File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/hackerrank/interview_preparation_kit/sorting Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ coverage: test
105
105
106
106
coverage/html : test
107
107
${RUNTIME_TOOL} -m coverage html
108
+ open htmlcov/indes.html
108
109
109
110
outdated :
110
111
${PACKAGE_TOOL} list --outdated
Original file line number Diff line number Diff line change @@ -56,15 +56,15 @@ class TestComparatorSorting(unittest.TestCase):
56
56
57
57
def test_player (self ):
58
58
59
- a = Player ('David' , 100 )
60
- a_as_string = str (a )
59
+ a_player = Player ('David' , 100 )
60
+ a_as_string = str (a_player )
61
61
a_answer = ''
62
62
63
63
self .assertEqual (a_as_string , a_answer )
64
64
65
- b = Player ('Kurt' , 10 )
65
+ b_player = Player ('Kurt' , 10 )
66
66
comparator_answer = 0
67
- self .assertEqual (a .comparator (b ), comparator_answer )
67
+ self .assertEqual (a_player .comparator (b_player ), comparator_answer )
68
68
69
69
def test_comparator_sorting (self ):
70
70
You can’t perform that action at this time.
0 commit comments