From 877b4fae0436bdf22e7c0f911ce8f7030038a04c Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 17 Jan 2015 15:41:24 -0800 Subject: 576 - helper for printing integers This requires creating a new data structure called buffer, because strings are too inefficient for appending to, and we need to know how long they need to be before we clear them. But I'm not gonna bother to write tests for all the new primitives I just introduced, because that's not expedient. One test for mu is how nicely it handles situations like this without requiring perfect test hygiene. In this case, I can imagine tools that will extract tests for a particular function out of all known tests. Especially if it's a pure function that should be easy. Then just show each test to the programmer and ask him to give it a reasonable name. --- horizon | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'horizon') diff --git a/horizon b/horizon index a8869da4..f46e56ec 100644 --- a/horizon +++ b/horizon @@ -23,3 +23,7 @@ Trace should contain [ typed "b" typed "c" ] + +--- + +Extract unit tests for helper out of all existing tests. -- cgit 1.4.1-2-gfad0