diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-23 11:17:11 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-23 11:17:11 -0700 |
commit | d48cfd0f36e21f6515285157b785a302932ed675 (patch) | |
tree | d965b4a82c18f1c8d70c42594d1639ebaf5e6a4f /subx/apps/factorial | |
parent | aa00959024643a33f766ef3f060a934006fe7725 (diff) | |
download | mu-d48cfd0f36e21f6515285157b785a302932ed675.tar.gz |
4505
Extract a helper from the factorial unit test: check_ints_equal. Start of a vocabulary for unit tests. I *could* also start thinking of supporting multi-file programs, but I'm going to resist the temptation for now. Copy helpers as necessary, and allow them to mutate and diverge for a while before we pummel them into a Procrustean "standard library". Extracting a body of shared code immediately starts to discourage innovation in the shared code.
Diffstat (limited to 'subx/apps/factorial')
-rwxr-xr-x | subx/apps/factorial | bin | 410 -> 455 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/subx/apps/factorial b/subx/apps/factorial
index 07c92714..1d61ad03 100755
--- a/subx/apps/factorial
+++ b/subx/apps/factorial
Binary files differ |