diff options
Diffstat (limited to 'cpp/001test')
-rw-r--r-- | cpp/001test | 18 |
1 files changed, 9 insertions, 9 deletions
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); |