From 3f9c7fcaa3e5a40cd3afc9a12327399f7b2a3496 Mon Sep 17 00:00:00 2001 From: Ben Yang Date: Thu, 2 Feb 2023 13:14:43 -0800 Subject: Update testing.md Fixed Parameter Generator table --- docs/reference/testing.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/reference/testing.md b/docs/reference/testing.md index 62cdcc1..877dfa3 100644 --- a/docs/reference/testing.md +++ b/docs/reference/testing.md @@ -110,6 +110,7 @@ namespace: | `Bool()` | Yields sequence `{false, true}`. | | `Combine(g1, g2, ..., gN)` | Yields as `std::tuple` *n*-tuples all combinations (Cartesian product) of the values generated by the given *n* generators `g1`, `g2`, ..., `gN`. | | `ConvertGenerator(g)` | Yields values generated by generator `g`, `static_cast` to `T`. | + The optional last argument *`name_generator`* is a function or functor that generates custom test name suffixes based on the test parameters. The function must accept an argument of type -- cgit v0.12