Exemplo n.º 1
0
def test_hello_without_name() -> None:
    """Test with no parameter."""
    assert hello() == "Hello, World!"
Exemplo n.º 2
0
def test_hello_with_macronated_name() -> None:
    """Test with a macronated name supplied."""
    assert hello("Ātaahua") == "Hello, Ātaahua!"
Exemplo n.º 3
0
def test_hello_with_sample_name() -> None:
    """Test with a name supplied."""
    assert hello("Alice") == "Hello, Alice!"
def test_hello_with_sample_name() -> None:
    assert hello("Alice") == "Hello, Alice!"
def test_hello_without_name() -> None:
    assert hello() == "Hello, World!"
def test_hello_with_macronated_name() -> None:
    assert hello("Ātaahua") == "Hello, Ātaahua!"