def test_metroville_pandora(planets): names = ["Metroville", "Pandora"] assert direct_flights(planets, names) == (True, 82)
def test_narnia_arendelle_naboo(planets): names = ["Narnia", "Arendelle", "Naboo"] assert direct_flights(planets, names) == (False, 0)
def test_arendelle_monstropolis_naboo(planets): names = ["Arendelle", "New Monstropolis", "Naboo"] assert direct_flights(planets, names) == (True, 115)
def test_naboo_pandora(planets): names = ["Naboo", "Pandora"] assert direct_flights(planets, names) == (False, 0)
def test_metroville_monstropolis(planets): names = ["Metroville", "New Monstropolis"] assert direct_flights(planets, names) == (True, 105)