from solution import info def test_mission_control(): r = info("MISSION-CONTROL-7") assert r == {"first": "M", "sixth": "O", "last": "7", "length": 17} def test_andromeda(): r = info("andromeda") assert r == {"first": "a", "sixth": "m", "last": "a", "length": 9} def test_alphabet(): r = info("ABCDEFGH") assert r == {"first": "A", "sixth": "F", "last": "H", "length": 8}