summaryrefslogtreecommitdiff
path: root/gtests/google_test/gtest/samples/sample7_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtests/google_test/gtest/samples/sample7_unittest.cc')
-rw-r--r--gtests/google_test/gtest/samples/sample7_unittest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtests/google_test/gtest/samples/sample7_unittest.cc b/gtests/google_test/gtest/samples/sample7_unittest.cc
index cee9a0d8a..e0efc29e4 100644
--- a/gtests/google_test/gtest/samples/sample7_unittest.cc
+++ b/gtests/google_test/gtest/samples/sample7_unittest.cc
@@ -27,6 +27,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
// This sample shows how to test common properties of multiple
// implementations of an interface (aka interface tests) using
// value-parameterized tests. Each test in the test case has
@@ -49,7 +50,9 @@ using ::testing::Values;
// SetUp() method and delete them in TearDown() method.
typedef PrimeTable* CreatePrimeTableFunc();
-PrimeTable* CreateOnTheFlyPrimeTable() { return new OnTheFlyPrimeTable(); }
+PrimeTable* CreateOnTheFlyPrimeTable() {
+ return new OnTheFlyPrimeTable();
+}
template <size_t max_precalculated>
PrimeTable* CreatePreCalculatedPrimeTable() {