def test_meteotoeslag_years_hybride_lnight(): # Determine the years to include for hybrid Lnight actual = meteotoeslag_years('hybride', 'Lnight') # Set the desired output desired = np.array([1971, 1972, 1974, 1975, 1977, 1978, 1979, 1981, 1982, 1983, 1984, 1985, 1986, 1988, 1989, 1990, 1991, 1992, 1993, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009]) # Check if the data is stored correctly np.testing.assert_equal(actual, desired)
def test_meteotoeslag_years_empirisch_lnight(): # Determine the years to include for empirical Lnight actual = meteotoeslag_years('empirisch', 'Lnight') # Set the desired output desired = np.array([1971, 1972, 1974, 1975, 1976, 1977, 1978, 1980, 1981, 1982, 1983, 1984, 1986, 1987, 1988, 1990, 1991, 1992, 1993, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010]) # Check if the data is stored correctly np.testing.assert_equal(actual, desired)
def test_meteotoeslag_years_hybride_lnight_uppercase(): # Determine the years to include for hybrid LNIGHT meteotoeslag_years('hybride', 'LNIGHT')
def test_meteotoeslag_years_hybride_lnight_lowercase(): # Determine the years to include for hybrid lnight meteotoeslag_years('hybride', 'lnight')
def test_meteotoeslag_years_hybrid_lnight(): # Determine the years to include for hybrid Lnight meteotoeslag_years('hybrid', 'Lnight')
def test_meteotoeslag_years_empirical_lnight(): # Determine the years to include for empirical Lnight meteotoeslag_years('empirical', 'Lnight')