Ejemplo n.º 1
0
def cython_10k():
    for ii in range(0, 10000):
        hw.say_hello('Mircea')
Ejemplo n.º 2
0
def test_helloworld_no_params():
    assert say_hello() == "Hello, World!"
Ejemplo n.º 3
0
def test_helloworld_with_params():
    assert say_hello("Everyone") == "Hello, Everyone!"
Ejemplo n.º 4
0
def test_helloworld_with_param():
    assert say_hello("mkmenta") == "Hello mkmenta!"
from helloworld import say_hello

# Generate "Hello world!"
greeting = say_hello()
print(greeting)

# Generate "Hello mkmenta!"
greeting = say_hello("mkmenta")
print(greeting)
Ejemplo n.º 6
0
from helloworld import say_hello

if __name__ == "__main__":
    print(say_hello('Steve'))
Ejemplo n.º 7
0
def test_helloworld_with_param():
    assert say_hello("everyone") == "hello, everyone!" + pd.__version__
Ejemplo n.º 8
0
def test_helloworld_no_params():
    assert say_hello() == "hello, world!" + pd.__version__
Ejemplo n.º 9
0
from helloworld import say_hello
from hello import say_hello_to

for i in range(5):
  say_hello()

say_hello_to('Mike')
Ejemplo n.º 10
0
from helloworld import say_hello
from hello import say_hello_to

for i in range(5):
    say_hello()

say_hello_to('Mike')