seed: curriculum content
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
from solution import count
|
||||
|
||||
|
||||
def test_hello_andromeda():
|
||||
assert count("Hello andromeda") == {"length": 15, "words": 2, "a_count": 2}
|
||||
|
||||
|
||||
def test_all_systems_nominal():
|
||||
assert count("All systems nominal") == {"length": 19, "words": 3, "a_count": 2}
|
||||
|
||||
|
||||
def test_caps_with_a():
|
||||
assert count("MISSION READY ALPHA") == {"length": 19, "words": 3, "a_count": 3}
|
||||
|
||||
|
||||
def test_quick_brown_fox():
|
||||
assert count("the quick brown fox jumps over") == {
|
||||
"length": 30,
|
||||
"words": 6,
|
||||
"a_count": 0,
|
||||
}
|
||||
Reference in New Issue
Block a user