diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-21 13:44:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-21 13:44:16 -0700 |
commit | caaeccd68e2baf49c4df5ada5799cffcecb51c60 (patch) | |
tree | bd41ab2a45b490cc78b18c589cef3cf4d938c967 /subx/apps/factorial | |
parent | 0828df68de1defe68d63fd19cd3ed76be09918c8 (diff) | |
download | mu-caaeccd68e2baf49c4df5ada5799cffcecb51c60.tar.gz |
4567 - support automated tests in SubX
All it takes is to code-generate a simple function called 'run_tests' that calls all functions starting with 'test_' one by one. I've temporarily switched the factorial app to run as a test. But that's temporary, because all the code to print '.' vs 'F' needs to get extracted out into a helper.
Diffstat (limited to 'subx/apps/factorial')
-rwxr-xr-x | subx/apps/factorial | bin | 167 -> 284 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/subx/apps/factorial b/subx/apps/factorial
index e60e7d21..15fa68ec 100755
--- a/subx/apps/factorial
+++ b/subx/apps/factorial
Binary files differ |