Skip to content

Commit

Permalink
hallo
Browse files Browse the repository at this point in the history
  • Loading branch information
stgm committed Sep 6, 2023
1 parent 89a98b4 commit 53ead7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/algoritmen/helloTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

@t.test(0)
def exactHello(test):
test.test = lambda : assertlib.exact(lib.outputOf(_fileName), "Hallo, Python!\n")
test.description = lambda : "print precies: Hallo, Python!"
test.test = lambda : assertlib.exact(lib.outputOf(_fileName), "Hello, world!\n")
test.description = lambda : "print precies: Hello, world!"

@t.failed(exactHello)
@t.test(1)
def oneLine(test):
test.test = lambda : assertlib.exact(len(lib.outputOf(_fileName).split("\n")), 2) and assertlib.exact(lib.getLine(lib.outputOf(_fileName), 1), "")
test.description = lambda : "print precies één regel"
test.description = lambda : "print precies één regel"

0 comments on commit 53ead7d

Please sign in to comment.