about summary refs log tree commit diff stats
path: root/subx/apps/factorial
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-09-23 12:07:55 -0700
committerKartik Agaram <vc@akkartik.com>2018-09-23 12:12:02 -0700
commitbf86f7f39d8e5c4d29068cd665a7b4bafd52f283 (patch)
tree7f9d83cd41cd5adc88868bf99b36927aafbf80e5 /subx/apps/factorial
parentd48cfd0f36e21f6515285157b785a302932ed675 (diff)
downloadmu-bf86f7f39d8e5c4d29068cd665a7b4bafd52f283.tar.gz
4506
check_ints_equal now prints a newline after the failure message on failure.

We still don't know how to print a final newline after all the tests have
run, for the common case when all tests pass.

Ideally I could just emit a few instructions to `run_tests`. But I'd also
need to add a variable for the newline to the data segment. Or I need some
literal syntax for newlines in strings. We don't have support for backslash-escapes
yet.
Diffstat (limited to 'subx/apps/factorial')
-rwxr-xr-xsubx/apps/factorialbin455 -> 476 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/subx/apps/factorial b/subx/apps/factorial
index 1d61ad03..e5c76c6e 100755
--- a/subx/apps/factorial
+++ b/subx/apps/factorial
Binary files differ