From b8757483df26f3baa75cdbd4b4a09f642bf9542c Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 22 Apr 2015 13:00:01 -0700 Subject: 1131 --- cpp/001test | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'cpp') diff --git a/cpp/001test b/cpp/001test index 0d45d070..f704f7f0 100644 --- a/cpp/001test +++ b/cpp/001test @@ -1,12 +1,12 @@ -// A simple test harness. To create new tests define functions starting with -// 'test_'. To run all tests so defined, run: -// $ wart test -// -// So far it seems tasteful for layers to never ever reach back to modify -// previously-defined tests. Every test is a contract once written, and should -// pass as-is if it is included, regardless of how much later layers change -// the program. Avoid writing 'temporary' tests that only work with some -// subsets of the program. +//: A simple test harness. To create new tests define functions starting with +//: 'test_'. To run all tests so defined, run: +//: $ wart test +//: +//: So far it seems tasteful for layers to never ever reach back to modify +//: previously-defined tests. Every test is a contract once written, and should +//: pass as-is if it is included, regardless of how much later layers change +//: the program. Avoid writing 'temporary' tests that only work with some +//: subsets of the program. :(before "End Types") typedef void (*test_fn)(void); -- cgit 1.4.1-2-gfad0