diff options
| author | dam <dam@gudinoff> | 2023-06-29 19:39:29 +0100 |
|---|---|---|
| committer | dam <dam@gudinoff> | 2023-06-29 19:39:29 +0100 |
| commit | 1238925ad79b736c262105103a0de8a8c634b7c0 (patch) | |
| tree | bca68fd2d82819c12a5a05e2166b75895ffbd2b9 | |
| parent | 6db0cd24cf6dd2c7f8fd110302b6fe2479ef1243 (diff) | |
| download | task-time-tracker-1238925ad79b736c262105103a0de8a8c634b7c0.tar.zst task-time-tracker-1238925ad79b736c262105103a0de8a8c634b7c0.zip | |
Fix printing test results.
| -rw-r--r-- | Math_Test.jai | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Math_Test.jai b/Math_Test.jai index efc687c..781afa0 100644 --- a/Math_Test.jai +++ b/Math_Test.jai @@ -9,8 +9,8 @@ main :: () { write_strings( - "#========================#\n", - "# Unit tests #\n" + "#=======================#\n", + "# Unit tests #\n" ); test_op :: (operation: string, x: $Tx, y: $Ty, result: $Tr, type: Type, saturated: bool, remainder: Tr = 0) -> errors_found: int #expand { @@ -159,8 +159,8 @@ main :: () { if errors > 0 print("# Found % %!\n", errors, ifx errors == 1 then "error" else "errors"); else print(" No errors found.\n"); write_strings( - "#========================#\n", - "# Benchmarks #\n" + "#=======================#\n", + "# Benchmarks #\n" ); #import "Random"; @@ -229,7 +229,7 @@ main :: () { context.print_style.default_format_float = ff; write_strings( - " # (ops / usec) #\n", + " | (ops / usec) |\n", " | generic | x64 asm |\n" ); |
