Test.done.go: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/test.bend as Test Lines 89-95 of ezx@1.11.0.0/src/ez/test.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/test.bend&start_line=89&end_line=95 import Base import ezx@1.11.0.0/src/ez/ends.bend as E import ezx@1.11.0.0/src/lock/run.bend as Run # the count, and the exit status it implies. The reminder sits above the count # and never below it: a run's last line is its verdict, and something reads it. def done.go(+passed: Nat, +total: Nat) -> IO(Unit): do IO: IO.print("tests are a last resort for what you cannot prove") IO.print("PASS: " ++ Nat.show(passed) ++ " / " ++ Nat.show(total)) Run.end(E.counted(passed, total)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.print https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.show https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/ends.bend&name=counted https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/run.bend&name=end