@Test
public void testEquals() {

	Temperature temperature = new Temperature(32.0, TemperatureType.CELSIUS);
	Pressure pressure = new Pressure(1020, PressureType.H_PA);
	PrecipitationDuration precipitationDuration = new PrecipitationDuration(1.0, DurationType.HOUR);
	PrecipitationHeight precipitationHeight = new PrecipitationHeight(2.0, LengthType.CENTIMETER);
	SunshineDuration sunshineDuration = new SunshineDuration(3.14, DurationType.HOUR);
	WindSpeed windSpeed = new WindSpeed(1.1, SpeedType.KILOMETER_PER_HOUR);
	WindDirection windDirection = new WindDirection(45.0, AngleType.DEGREE);
	int cloudCoverInPercent = 12;
	TotalSolarRadiation totalSolarRadiation = new TotalSolarRadiation(38.9, RadiationType.JOULE_PER_SQUARE_CENTIMETER);
	Location location = new Location("Erlangen", Location.UNKNOWN, null);
	Instant timestamp = Instant.ofEpochSecond(1534332000);
	ExtendedWeather other = new ExtendedWeather(
		"42",
		temperature,
		pressure,
		45,
		precipitationDuration,
		precipitationHeight,
		sunshineDuration,
		windSpeed,
		windDirection,
		cloudCoverInPercent,
		totalSolarRadiation,
		timestamp,
		location
	);
	Assert.assertEquals(weather, other);
}