// filter a list of vehicles by the given sunroofType
def filterVehiclesBySunroof(inputVehicles: List[Vehicle], sunroofType: String): List[Vehicle] = {
inputVehicles.filter(Vehicle => vehicle.sunroofType == sunroofType) ??????
}
// filter list of vehicles by the given sunroof type, possible values are AUTO, MANUAL or the option is None
// if the car doesn't have a sunroof
"filterVehiclesBySunroof" should {
"Return list of vehicles filtered by given sunroof value" in {
assert(filterVehiclesBySunroof(vehiclesEU, "AUTO").toSet == Set(Vehicle(70, "Jeep", 1, Some("AUTO"))))