Skip to content
This repository
Browse code

fix some comments

  • Loading branch information...
commit f665d228eb5d533c145c4c8d073eaab3e8f9fee6 1 parent 3c99bee
authored

Showing 2 changed files with 21 additions and 2 deletions. Show diff stats Hide diff stats

  1. 18  ctest.c
  2. 5  ctest.h
18  ctest.c
... ...
@@ -1,3 +1,21 @@
  1
+/*
  2
+  CTEST -- A simple unit test framework for C
  3
+  Copyright (C) 2011, by Christopher A. Mosher
  4
+
  5
+  This program is free software: you can redistribute it and/or modify
  6
+  it under the terms of the GNU General Public License as published by
  7
+  the Free Software Foundation, either version 3 of the License, or
  8
+  (at your option) any later version.
  9
+
  10
+  This program is distributed in the hope that it will be useful,
  11
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
  12
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13
+  GNU General Public License for more details.
  14
+
  15
+  You should have received a copy of the GNU General Public License
  16
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17
+*/
  18
+
1 19
 #ifdef HAVE_CONFIG_H
2 20
 #include <config.h>
3 21
 #endif
5  ctest.h
@@ -30,9 +30,10 @@ print error messages for failures, and keep count.
30 30
 To use the CTEST framework, perform to following
31 31
 actions:
32 32
   1. Call ctest_ctx_alloc to allocate a suite context.
33  
-  2. Call the CTEST macro for each unit test to perform.
  33
+  2. Call the CTEST macro to perform each unit test
  34
+     in the suite.
34 35
   3. Check the count of failed tests in the suite by
35  
-     calling ctest_count_failures.
  36
+     calling ctest_count_fail.
36 37
   4. Call ctest_ctx_free to free the suite context.
37 38
 
38 39
 Here is a simple example:

0 notes on commit f665d22

Please sign in to comment.
Something went wrong with that request. Please try again.