diff options
author | Jan <janbruckner@gmail.com> | 2022-10-14 09:12:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-14 09:12:51 +0200 |
commit | a41c3d0fb80c4558aa3799f262a7cfd67f32c468 (patch) | |
tree | 04cac9336461b0b67813871f749c2dec945cbd85 | |
parent | 67174c7675fe500644490c49e8c822173f7e1f9a (diff) | |
download | googletest-a41c3d0fb80c4558aa3799f262a7cfd67f32c468.zip googletest-a41c3d0fb80c4558aa3799f262a7cfd67f32c468.tar.gz googletest-a41c3d0fb80c4558aa3799f262a7cfd67f32c468.tar.bz2 |
Fix table markup in testing.md
-rw-r--r-- | docs/reference/testing.md | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/docs/reference/testing.md b/docs/reference/testing.md index dd0b982..d983301 100644 --- a/docs/reference/testing.md +++ b/docs/reference/testing.md @@ -101,23 +101,14 @@ functions that generate the test parameters, all defined in the `::testing` namespace: <span id="param-generators"></span> - -| Parameter Generator | Behavior | -| ---------------------------- | -------------------------------------------- | -| `Range(begin, end [, step])` | Yields values `{begin, begin+step, | -: : begin+step+step, ...}`. The values do not : -: : include `end`. `step` defaults to 1. : -| `Values(v1, v2, ..., vN)` | Yields values `{v1, v2, ..., vN}`. | -| `ValuesIn(container)` or | Yields values from a C-style array, an | -: `ValuesIn(begin,end)` : STL-style container, or an iterator range : -: : `[begin, end)`. : -| `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<T>(g)` | Yields values generated by generator `g`, | -: : `static_cast` to `T`. : +| Parameter Generator | Behavior | +| ------------------- | ---------------------------------------------------- | +| `Range(begin, end [, step])` | Yields values `{begin, begin+step, begin+step+step, ...}`. The values do not include `end`. `step` defaults to 1. | +| `Values(v1, v2, ..., vN)` | Yields values `{v1, v2, ..., vN}`. | +| `ValuesIn(container)` or `ValuesIn(begin,end)` | Yields values from a C-style array, an STL-style container, or an iterator range `[begin, end)`. | +| `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<T>(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 |