add: python tester
This commit is contained in:
8
test/print.py
Normal file
8
test/print.py
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
def print_test(expected_value, value, title: str, desc: str) -> None:
|
||||
print(title, end="\t")
|
||||
if expected_value == value:
|
||||
print("[OK]")
|
||||
return
|
||||
print(f"[ERR]: {desc} ({expected_value} != {value})")
|
||||
Reference in New Issue
Block a user