Files
curriculum/1.solar-system/2.first-light/07.the-prompt/testing/test_solution.py

14 lines
318 B
Python

from solution import welcome
def test_vega_mars():
assert welcome("Vega", "Mars") == "Welcome, Vega from Mars."
def test_halo_earth():
assert welcome("Halo", "Earth") == "Welcome, Halo from Earth."
def test_orbit_seven_europa():
assert welcome("Orbit-7", "Europa") == "Welcome, Orbit-7 from Europa."