seed: curriculum content

This commit is contained in:
2026-05-07 14:32:44 +00:00
parent 9258534803
commit ec76f4f56b
100 changed files with 2846 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
from solution import transform
def test_padded_hello_world():
r = transform(" Hello World ")
assert r["upper"] == " HELLO WORLD "
assert r["lower"] == " hello world "
assert r["clean"] == "hello_world"
def test_mission_ready():
r = transform("MISSION READY")
assert r["upper"] == "MISSION READY"
assert r["lower"] == "mission ready"
assert r["clean"] == "mission_ready"
def test_andromeda_sector():
r = transform("andromeda sector")
assert r["upper"] == "ANDROMEDA SECTOR"
assert r["lower"] == "andromeda sector"
assert r["clean"] == "andromeda_sector"