Skip to content
Snippets Groups Projects
Commit 4143b8eb authored by Lennard Geese's avatar Lennard Geese
Browse files

Expand to test isWet()

parent 63291722
Branches
No related tags found
No related merge requests found
import string
from fastf1.core import Session from fastf1.core import Session
from fastf1.events import Event from fastf1.events import Event
...@@ -37,10 +39,11 @@ class Main: ...@@ -37,10 +39,11 @@ class Main:
def testNewRainRaceFetching(self): def testNewRainRaceFetching(self):
dataHandler: Main.DataHandlingPackage = Main.DataHandlingPackage() dataHandler: Main.DataHandlingPackage = Main.DataHandlingPackage()
weather = dataHandler.importer.fetchWeather(self.racesToAnalyse) weather: list[string] = dataHandler.importer.fetchWeather(self.racesToAnalyse)
print(weather) print(weather)
for w in weather:
isWet: bool = dataHandler.analyser.isWet(w)
print(isWet)
def printRainRaces(self): def printRainRaces(self):
dataHandler: Main.DataHandlingPackage = Main.DataHandlingPackage() dataHandler: Main.DataHandlingPackage = Main.DataHandlingPackage()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment