diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-22 13:00:01 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-22 13:00:01 -0700 |
commit | b8757483df26f3baa75cdbd4b4a09f642bf9542c (patch) | |
tree | bef85f4434d72bbde4738690681bdd77e0e256d7 /cpp | |
parent | 2ed1aa9c5661ec9ee32fe9fbdc230c29d30d27e4 (diff) | |
download | mu-b8757483df26f3baa75cdbd4b4a09f642bf9542c.tar.gz |
1131
Diffstat (limited to 'cpp')
-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); |