File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -178,19 +178,6 @@ def test_start_game_get(self):
178178 self .assertEqual (response .status_code , 200 )
179179 self .assertTemplateUsed (response , 'weather_game.html' )
180180
181- def test_calculate_score (self ):
182- """Test the calculate_score utility function"""
183- from .views import calculate_score
184-
185- # Test perfect guess
186- self .assertEqual (calculate_score (75.0 , 75.0 ), 250 )
187-
188- # Test close guess
189- self .assertEqual (calculate_score (75.0 , 73.0 ), 230 )
190-
191- # Test far guess (score should be 0)
192- self .assertEqual (calculate_score (75.0 , 50.0 ), 0 )
193-
194181 def test_game_selection_missing_player_id (self ):
195182 """Test game_selection view without player_id"""
196183 response = self .client .get (reverse ('game_selection' ))
You can’t perform that action at this time.
0 commit comments