summaryrefslogtreecommitdiff
path: root/samples/sample4.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/sample4.h')
-rw-r--r--samples/sample4.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/sample4.h b/samples/sample4.h
index cd60f0d..e256f40 100644
--- a/samples/sample4.h
+++ b/samples/sample4.h
@@ -28,9 +28,6 @@
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// A sample program demonstrating using Google C++ testing framework.
-//
-// Author: wan@google.com (Zhanyong Wan)
-
#ifndef GTEST_SAMPLES_SAMPLE4_H_
#define GTEST_SAMPLES_SAMPLE4_H_
@@ -46,6 +43,9 @@ class Counter {
// Returns the current counter value, and increments it.
int Increment();
+ // Returns the current counter value, and decrements it.
+ int Decrement();
+
// Prints the current counter value to STDOUT.
void Print() const;
};