コード例 #1
0
	def test_should_flag_rainy_day_when_precipitation_below_limit(self):   
		weather_record = WeatherRecord(100, 85,12)    	
		self.assertFalse(weather_record.is_rainy())
コード例 #2
0
	def test_should_flag_rainy_day_when_precipitation_beyond_limit(self):   
		weather_record = WeatherRecord(100, 85,23)    	
		self.assertTrue(weather_record.is_rainy())