Exemple #1
0
def test_add():
    print("In add test")
    added = demo.add("hej ", "hopp")
    test.assert_equal("hej hopp", added)
    test.assert_not_equal("hej", added)
Exemple #2
0
def test_add():
    print("In add test")
    added = demo.add("hej ", "hopp")
    test.assert_equal("hej hopp", added)
    test.assert_not_equal("hej", added)
Exemple #3
0
def test_echo():
    print("In echo test")
    echo = demo.echo("hej")
    test.assert_equal("hej", echo)
    test.assert_not_equal(None, echo)
Exemple #4
0
def test_echo():
    print("In echo test")
    echo = demo.echo("hej")
    test.assert_equal("hej", echo)
    test.assert_not_equal(None, echo)