diff options
Diffstat (limited to 'security/nss/gtests/google_test/gtest/samples/sample4.h')
-rw-r--r-- | security/nss/gtests/google_test/gtest/samples/sample4.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/nss/gtests/google_test/gtest/samples/sample4.h b/security/nss/gtests/google_test/gtest/samples/sample4.h index cd60f0dd2..e256f4064 100644 --- a/security/nss/gtests/google_test/gtest/samples/sample4.h +++ b/security/nss/gtests/google_test/gtest/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; }; |