about summary refs log tree commit diff stats
path: root/subx/examples/ex5
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-09-23 11:17:11 -0700
committerKartik Agaram <vc@akkartik.com>2018-09-23 11:17:11 -0700
commitd48cfd0f36e21f6515285157b785a302932ed675 (patch)
treed965b4a82c18f1c8d70c42594d1639ebaf5e6a4f /subx/examples/ex5
parentaa00959024643a33f766ef3f060a934006fe7725 (diff)
downloadmu-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/examples/ex5')
0 files changed, 0 insertions, 0 deletions
ref='#n130'>130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175